Search found 5 matches

by jtkangas
2016-04-28T01:09:13-07:00
Forum: Bugs
Topic: convert with flop, rotate and crop not working anymore
Replies: 7
Views: 6175

Re: convert with flop, rotate and crop not working anymore

In order to get same result as with previous version +repage needs to be before the crop:

Code: Select all

convert original.jpg -flop -rotate -26 +repage -crop 1372x1212+1730+953 new.jpg
by jtkangas
2015-12-21T06:55:51-07:00
Forum: Bugs
Topic: convert with flop, rotate and crop not working anymore
Replies: 7
Views: 6175

Re: convert with flop, rotate and crop not working anymore

And if file is written to temporary file after crop and rotate, it works with Mac (or newer ImageMagick version) as well: <?php $inputfile = 'original.jpg'; $tmpfile = 'tmp.jpg'; $outputfile = 'output2.jpg'; if(!class_exists('Imagick')) { echo "ImageMagick extension missing. Aborting.\n"; exit(1 ...
by jtkangas
2015-12-21T06:45:27-07:00
Forum: Bugs
Topic: convert with flop, rotate and crop not working anymore
Replies: 7
Views: 6175

Re: convert with flop, rotate and crop not working anymore

Following PHP code results same erroneous image Mac OS X (port install php55-imagick), works with Ubuntu 12.04LTS (apt-get install php5-imagick). <?php $inputfile = 'original.jpg'; $outputfile = 'output.jpg'; if(!class_exists('Imagick')) { echo "ImageMagick extension missing. Aborting.\n"; exit(1 ...
by jtkangas
2015-12-21T05:26:35-07:00
Forum: Bugs
Topic: convert with flop, rotate and crop not working anymore
Replies: 7
Views: 6175

convert with flop, rotate and crop not working anymore

Convert with flop, rotate and crop not working anymore as expected, resulting image is not what it used to be. This used to work with version 6.6.9-7 (Ubuntu 12.04) convert -flop -rotate -26 -crop 1372x1212+1730+953 original.jpg new.jpg With version 6.9.2-4 (Mac OS X) it works if the crop is done ...