Using MagickReadSettings to read in a jpeg at different dimensions to file, Correct usage? #1824
-
Hi Original file is Jpeg 2976x1984 8-bit sRGB
This doesn't affect the image dimensions
Dimensions changed
Dimensions changed So it seems set define works but id have thought setting width and height directly would be trying to do the same thing? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
The jpeg size option is a special feature and also doesn't guarantee the output image will be that size and will also not work in al situations. The |
Beta Was this translation helpful? Give feedback.
The jpeg size option is a special feature and also doesn't guarantee the output image will be that size and will also not work in al situations. The
width
andheight
in theMagickReadSettings
are used by different parts of the library. For example reading an image in a specific color And it those situations you are guaranteed an image in the specified dimensions and that is probably why this was made a special option.