Search found 12163 matches

by snibgo
2010-04-14T09:45:30-07:00
Forum: Users
Topic: [JMagick] Use JMagick to perform GIF optimization
Replies: 3
Views: 7816

Re: [JMagick] Use JMagick to perform GIF optimization

As far as I know, JMagick is a different tool to ImageMagick. This is an ImageMagick forum. For help on JMagick, try a JMagick forum.
by snibgo
2010-04-14T09:38:19-07:00
Forum: Users
Topic: ImageMagick inches cm
Replies: 6
Views: 17513

Re: ImageMagick inches cm

set INFILE=liquid.jpg set OUTFILE=liquid_resized.jpg set MAX_HEIGHT_INCHES=3 set MAX_WIDTH_INCHES=5 FOR /F "usebackq" %%i IN (`identify -format "MAX_WIDTH_PIXELS=%%[fx:resolution.x*%MAX_WIDTH_INCHES%]\nMAX_HEIGHT_PIXELS=%%[fx:resolution.y*%MAX_HEIGHT_INCHES%]" %INFILE%`) DO @set ...
by snibgo
2010-04-14T08:37:16-07:00
Forum: Users
Topic: PDF Size Issue
Replies: 1
Views: 4547

Re: PDF Size Issue

Some more information would be useful.

What is your platform? What version of IM? Exactly what IM command are you using? What is the error message? Can you provide a sample input file?
by snibgo
2010-04-14T08:34:05-07:00
Forum: Users
Topic: get color of image palette
Replies: 1
Views: 4692

Re: get color of image palette

identify -verbose input.png

will write the palette to stdout. Your script could then search for the colour.
by snibgo
2010-04-13T10:03:51-07:00
Forum: Users
Topic: Removing noise
Replies: 7
Views: 16596

Re: Removing noise

The greatest difficulty seems to be separating the bottom drop from the background. Many possibilities exist, depending on what you want to do with the output images. For example: convert 1zx8jrs.jpg -colorspace gray -noise 2 -median 2 ( +clone -adaptive-blur 10x3 ) -compose difference -composite -t...
by snibgo
2010-04-13T07:54:42-07:00
Forum: Users
Topic: ImageMagick inches cm
Replies: 6
Views: 17513

Re: ImageMagick inches cm

As far as I know, IM has no options to directly resize in inches or centimetres. You need to do the calculations in a script.
by snibgo
2010-04-13T07:52:36-07:00
Forum: Users
Topic: Removing noise
Replies: 7
Views: 16596

Re: Removing noise

"-adaptive-blur" might do the trick, or "-level" or a simple threshold. You might post a couple of adjacent frames, so we can see the noise and offer suggestions.
by snibgo
2010-04-13T07:50:04-07:00
Forum: Users
Topic: Run ffmpeg as non-root user
Replies: 1
Views: 4825

Re: Run ffmpeg as non-root user

I suggest you try running an ffmpeg command directly from the command line, both as su root and su data. That will indicate whether you have a problem within ffmpeg or IM. ffmpeg -i /tmp/sunset/*.jpg /tmp/sunset/sunset/mp4 If that works (as data), build up to the fuller comand. Two-pass ffmpeg creat...
by snibgo
2010-04-12T09:17:21-07:00
Forum: Users
Topic: convert: delegate failed `"ffmpeg"
Replies: 2
Views: 15150

Re: convert: delegate failed `"ffmpeg"

I haven't bottomed-out the best method of getting IM and ffmpeg to work well in Unix (Ubuntu 9.04), but a couple of tricks: 1: $ export LD_LIBRARY_PATH=/usr/local/lib/ 2: install ffmpeg first, then IM. Where did you get that line for delegates.xml from? That decode="ffmpeg" looks dodgy, bu...
by snibgo
2010-04-11T13:48:11-07:00
Forum: Developers
Topic: Conversion Problems from CMYK
Replies: 8
Views: 24997

Re: Conversion Problems from CMYK

Whenever we convert [from CMYK] to PNG, we have loss of color. How do you know? What you mean is, when you view the CMYK file with one program that converts from CMYK to RGB for the screen, you get a different result from viewing an RGB file created by ImageMagick. Both programs are converting from...
by snibgo
2010-04-09T18:05:36-07:00
Forum: Users
Topic: Mogrify, Internet Explorer and GIF images
Replies: 4
Views: 10055

Re: Mogrify, Internet Explorer and GIF images

These aren't animations, apparently.

garethk: can you post a link to a tif and the "bad" gif it creates? And tell us the exact command, and the IM version and platform.
by snibgo
2010-04-09T08:59:37-07:00
Forum: Developers
Topic: Resizing properly in a world of {default=sRGB}
Replies: 18
Views: 56477

Re: Resizing properly in a world of {default=sRGB}

Yes, whoops, my bad typing, lines.png is really a bmp file. It doesn't effect the result. Why is one image hex BA, where the other is hex BB? Because sRGB transformation isn't a simple gamma conversion. See http://www.imagemagick.org/script/command-line-options.php under "colorspace" for t...
by snibgo
2010-04-09T07:52:52-07:00
Forum: Bugs
Topic: Thumbnials are not created properly in Imagemagick 6.5.9.10
Replies: 4
Views: 9798

Re: Thumbnials are not created properly in Imagemagick 6.5.9

convert Grad1_rgb.jpg -thumbnail 350 gth.jpg

works fine for me (Windows 7, IM 6.6.0-8). Does a simple "-resize" work for you? Can you post a "bad" result?
by snibgo
2010-04-09T07:14:31-07:00
Forum: Developers
Topic: Resizing properly in a world of {default=sRGB}
Replies: 18
Views: 56477

Re: Resizing properly in a world of {default=sRGB}

Input image (alternating black and white lines): http://www.snibgo.org/images/lines.png convert lines.png -resize 50%% lines1.png lines1.png: http://www.snibgo.org/images/lines1.png convert lines.png -gamma 0.45454 -resize 50%% -gamma 2.2 lines2.png lines2.png: http://www.snibgo.org/images/lines2.pn...
by snibgo
2010-04-08T20:43:47-07:00
Forum: Developers
Topic: Resizing properly in a world of {default=sRGB}
Replies: 18
Views: 56477

Re: Resizing properly in a world of {default=sRGB}

I thought that was the function of "-set colorspace", ie

Code: Select all

convert in.png -set colorspace sRGB -resize 50% out.png
does the resize assuming the pixels of in.png are sRGB, so it will do (roughly) the "-gamma 0.45" before the resize and "-gamma 2.2" after.