Search found 4 matches

by mtyaka
2014-01-06T04:11:49-07:00
Forum: Bugs
Topic: LevelColorsImageChannel returns wrong status
Replies: 1
Views: 3255

LevelColorsImageChannel returns wrong status

Since revision 13011 (http://trac.imagemagick.org/changeset/13011/ImageMagick/branches/ImageMagick-6/magick/enhance.c), the LevelColorsImageChannel function always returns 0 (MagickFalse). This causes RMagick's level_colors to fail with recent ImageMagick versions (https://github.com/rmagick/rmagick ...
by mtyaka
2013-02-01T19:31:41-07:00
Forum: Bugs
Topic: Geometry greater flag (>) not respected when using jpeg:size
Replies: 5
Views: 5310

Re: Geometry greater flag (>) not respected when using jpeg:

That makes sense, thank you for looking into it. Would it be possible to add support for the ">" and "<" flags to jpeg:size? Then one could do: convert -define "jpeg:size=1500>" in.jpg -resize "1500>" out.jpg Which would mean "only use the libjpeg scaling feature if in.jpg is larger than 1500px ...
by mtyaka
2013-01-31T03:36:47-07:00
Forum: Bugs
Topic: Geometry greater flag (>) not respected when using jpeg:size
Replies: 5
Views: 5310

Re: Geometry greater flag (>) not respected when using jpeg:

I tried using ImageMagick 6.8.2-1 compiled against libjpeg 8d using this sample 800x800 image: http://upload.wikimedia.org/wikipedia/commons/3/32/Koningin_Beatrix_in_Vries.jpg Running the command: convert -define "jpeg:size=1000" Koningin_Beatrix_in_Vries.jpg -resize "1000>" out.jpg produces a ...
by mtyaka
2013-01-30T06:53:08-07:00
Forum: Bugs
Topic: Geometry greater flag (>) not respected when using jpeg:size
Replies: 5
Views: 5310

Geometry greater flag (>) not respected when using jpeg:size

I'm using -define "jpeg:size=xxx" to limit memory usage when resizing large JPEG images. I noticed that images smaller that the desired output image can get upscaled despite using the ">" geometry flag. For example: convert -resize "1500>" -define "jpeg:size=1500" in.jpg out.jpg where the size of in ...