KOVÁCS István schrieb am 22.05.21 um 23:01:
On Sat, 22 May 2021 at 21:28, Willy Williams <[email protected]> wrote:
I can find no reference to being able
to export images while down-sizing them to a specific maximum file size
(in MB, not pixels). Does this capability exist at all?
No, since in JPEG (I guess you're referring to JPEG, but the same also
applies to PNG) you cannot set the desired output size: you set the
compression parameters, but the resulting file size also depends on
the content. This is contrary to music or video compression, where you
often set a desired bitrate (average or fixed), and the compressor
tweaks the compression parameters (e.g. quality settings) to achieve
it.
but apart from that it would be a nice feature.
I experience again and again that in forums both the length and the
width of an image and additionally the file size are limited.
The problem of an algorithm is probably the same as the approach I
currently take then by hand - it has to approximate it iteratively.
But what is the primary criterion if the file size is too large?
Change length/width first or the quality settings? And what is the
weighting for larger "savings" to be achieved?
Translated with www.DeepL.com/Translator (free version)
--
regards
Bernhard
https://www.bilddateien.de
____________________________________________________________________________
darktable user mailing list
to unsubscribe send a mail to [email protected]