Search found 16 matches

by visitor x
2016-02-29T13:44:36-07:00
Forum: MagickWand for PHP
Topic: Installing MagickWand for PHP fails with PHP 7
Replies: 9
Views: 129137

Re: Installing MagickWand for PHP fails with PHP 7

im in big need of this too for php7 i hope it will be supported
by visitor x
2015-07-14T01:19:50-07:00
Forum: Users
Topic: Keep Aspect Ratio on Resize and Fill with Blur Background
Replies: 13
Views: 19314

Re: Keep Aspect Ratio on Resize and Fill with Blur Background

Thanks! This is what I was looking for:

Code: Select all

convert source.png \( -clone 0 -blur 0x9-resize WxH\! \) \( -clone 0 -resize WxH \) \
-delete 0 -gravity center -compose over -composite result.png
by visitor x
2015-07-13T09:14:40-07:00
Forum: Users
Topic: Keep Aspect Ratio on Resize and Fill with Blur Background
Replies: 13
Views: 19314

Keep Aspect Ratio on Resize and Fill with Blur Background

Hi everyone, I need to resize a lot images with different sizes to a uniform size, while keeping the aspect ratio of each image. But instead of a single color background, I would like to use a blur version of the original image as background. Here is an example, how it should look like: http://i ...
by visitor x
2015-05-07T09:33:38-07:00
Forum: Users
Topic: photoshop tiff files - counting/exporting layers to jpg
Replies: 7
Views: 18022

Re: photoshop tiff files - counting/exporting layers to jpg

To extract all layers to jpgs, you can do something like: for i in $(identify -format "%[scene] " <filename>.tiff); do convert <filename>.tiff[$i] <extracted-filename>-$i.jpg; done (ImageMagick 6.8.9-9 Q16 i686 2015-01-06) I've changed "%[scene]\n" for "%[scene] ", so this is equivalent to do for i ...
by visitor x
2014-12-20T10:55:45-07:00
Forum: Bugs
Topic: ColorMapIndex field in TGA file header ignored
Replies: 2
Views: 5507

ColorMapIndex field in TGA file header ignored

TGA headers have a ColorMapIndex field allowing to store only a part of the actual color map if the image does not make use of all entries. This field is currently ignored by ImageMagick, images that have a non-zero value for ColorMapIndex fail to load as the image data is assumed to be corrupted. I ...
by visitor x
2014-02-18T04:24:55-07:00
Forum: Users
Topic: Mogrify -resize works in cmd.exe but not in .bat file
Replies: 4
Views: 7799

Re: Mogrify -resize works in cmd.exe but not in .bat file

snibgo wrote:EDIT: the problem is:

Code: Select all

set path=icons %date:~0% %time:~0,2%_%time:~3,2%_%time:~6,2%\
This wipes out your path! Windows will no longer be able to find programs in their usual places.

Call it something different, eg "mypath".
Thank you!!!!!! Egg and my face, same trajectory!
by visitor x
2014-02-18T04:23:14-07:00
Forum: Users
Topic: Mogrify -resize works in cmd.exe but not in .bat file
Replies: 4
Views: 7799

Re: Mogrify -resize works in cmd.exe but not in .bat file

What version of Windows are you running? What version of IM? Windows 7, ImageMagick-6.8.8-Q16 At the command prompt, type where mogrify.exe What is the result? C:\Program Files\ImageMagick-6.8.8-Q16\mogrify.exe is the result. My env var is also set to here Also put that line in the bat file. What ...
by visitor x
2014-02-18T04:07:07-07:00
Forum: Users
Topic: Mogrify -resize works in cmd.exe but not in .bat file
Replies: 4
Views: 7799

Mogrify -resize works in cmd.exe but not in .bat file

If i do it manually with cmd.exe mogrify works a charm. However, when I run it from a .bat file it fails. I tried some with convert too just in case but no joy. The error code is always The command "mogrify" is missing or not found. I thought I had found the answer here but as my images are being ...
by visitor x
2013-12-10T07:03:27-07:00
Forum: Users
Topic: save files to lowercase in Windows
Replies: 3
Views: 5972

Re: save files to lowercase in Windows

snibgo wrote:You can rename them:

Code: Select all

ren P1090612.jpg p1090612.jpg
and also in the case of multiple files

Code: Select all

for /f "Tokens=*" %f in ('dir /l/b/a-d') do (rename "%f" "%f")
by visitor x
2013-11-21T09:25:06-07:00
Forum: PerlMagick
Topic: Error while installing Image::Magick module
Replies: 5
Views: 25772

Re: Error while installing Image::Magick module

awesomess3 wrote:The test errors have been reported as a bug for PerlMagick:
https://rt.cpan.org/Public/Bug/Display.html?id=90556
Check the other bugs for this module on rt.cpan.org. They have all been ignored. Somebody in the Perl community needs to step in to help as a maintainer.
by visitor x
2013-11-05T01:00:22-07:00
Forum: PerlMagick
Topic: Are bugs reported on CPAN's RT bugracker ignored?
Replies: 0
Views: 9037

Are bugs reported on CPAN's RT bugracker ignored?

There's a bunch of bugs reported on CPAN's RT tracker for PerlMagick. None of them have ever been addressed by the distribution maintainer, so it appears they're being ignored, possibly because the maintainer doesn't monitor the RT queue, though it should be sending email messages to him. Note that ...
by visitor x
2013-08-28T02:06:32-07:00
Forum: Users
Topic: Corrupt JPEG data: 34608 extraneous bytes before marker 0xda
Replies: 2
Views: 10888

Re: Corrupt JPEG data: 34608 extraneous bytes before marker

Thanks, I used the command

Code: Select all

jpegtran -perfect -copy all -outfile fixed.jpg broken.jpg
from this page: http://blog.rubrik.me.uk/2013/08/fixing ... osslessly/
by visitor x
2013-08-26T13:33:53-07:00
Forum: Users
Topic: Corrupt JPEG data: 34608 extraneous bytes before marker 0xda
Replies: 2
Views: 10888

Corrupt JPEG data: 34608 extraneous bytes before marker 0xda

identify: Corrupt JPEG data: 34608 extraneous bytes before marker 0xda `blah.jpg' @ warning/jpeg.c/JPEGWarningHandler/346. I've inherited a lot of JPEGs which have some extraneous information in them. Without recompressing the images, can ImageMagick strip these extraneous bytes without losing ...
by visitor x
2013-07-28T07:50:22-07:00
Forum: Users
Topic: Split image horizontally while avoiding to cut text
Replies: 10
Views: 12789

Re: Split image horizontally while avoiding to cut text

Thanks for your help. I couldn't figure out how to "Find the brightest (whitest) pixel near the middle". I ended up using a PHP CLI script to do the work, as I'm a bit more familiar with PHP than ImageMagick. In general, an ImageMagick solution would require a script too, right? I probably wouldn't ...