Search found 4 matches

by JohnnyDoomo
2016-07-06T12:34:51-07:00
Forum: Developers
Topic: Does Imagemagick create Uniform thumbnail correctly yet?
Replies: 14
Views: 9746

Re: Does Imagemagick create Uniform thumbnail correctly yet?

I've searched the php files of the script and got this $mogrify_command = "/usr/local/bin/mogrify"; There are many variables, and many php files to photopost. I would not know where to put the $arr lines that Bonzo mentioned. The script is built for large amounts of image uploads. My site is current...
by JohnnyDoomo
2016-07-05T13:50:50-07:00
Forum: Developers
Topic: Does Imagemagick create Uniform thumbnail correctly yet?
Replies: 14
Views: 9746

Re: Does Imagemagick create Uniform thumbnail correctly yet?

OK, the code <? $size = getimagesize("test.png"); exec("convert test.png -gravity center -crop {$size[1]}x{$size[1]}+0+0 +repage -resize 150x150 output.png " ); echo "<img src=\"output.png\">"; ?> Produced a good looking thumbnail on my test. I've searched through my script and here's the code that ...
by JohnnyDoomo
2016-07-01T11:59:43-07:00
Forum: Developers
Topic: Does Imagemagick create Uniform thumbnail correctly yet?
Replies: 14
Views: 9746

Re: Does Imagemagick create Uniform thumbnail correctly yet?

Try this php code and see what it looks like, I can not try as you have not linked to the original image: $size = getimagesize("test.png"); exec("convert test.png -crop {$size[2]}x{$size[2]}+0+0 -resize 150x150 output.png " ); echo "<img src="output.png"> ?> It should work but I do very little php ...
by JohnnyDoomo
2016-06-29T12:35:54-07:00
Forum: Developers
Topic: Does Imagemagick create Uniform thumbnail correctly yet?
Replies: 14
Views: 9746

Does Imagemagick create Uniform thumbnail correctly yet?

I'm using "ImageMagick 6.9.0-0 Q16 x86_64 2016-05-05" on my server through a script called Photopost. It has the option to create "uniform" thumbnails. The script notes that this feature is only available when using ImageMagick, vs GD1 or GD2. I'm assuming that it's a feature of ImageMagick, and not...