Search found 1015 matches

by el_supremo
2007-01-17T15:38:44-07:00
Forum: Users
Topic: How to preserve color palette when resizing
Replies: 4
Views: 14951

You seem to have the Q16 version of ImageMagick installed, so it is saving each pixel as 16 bits. Add -depth 8 before the output filename.

Pete
by el_supremo
2007-01-09T16:45:19-07:00
Forum: MagickWand for PHP
Topic: How to add mask in magickhand (php)
Replies: 11
Views: 47602

Would you mind explaining what you did?

Pete
by el_supremo
2007-01-09T10:22:20-07:00
Forum: Users
Topic: How do I use IM in a non-standard language
Replies: 4
Views: 14729

You might be able to use the MagickWand "wrapper". Start by trying a simple program which just initializes IM and then closes it. Something like this: LOAD DLL "CORE_RL_wand_.dll" CALL DLL "MagickWandGenesis" CALL DLL "MagickWandTerminus" I've assumed that you...
by el_supremo
2007-01-07T14:41:07-07:00
Forum: Users
Topic: transparent watermark
Replies: 5
Views: 16913

I should have said what version I was using too: 6.3.1 12/24/06 Q8

Pete
by el_supremo
2007-01-07T11:25:53-07:00
Forum: Users
Topic: transparent watermark
Replies: 5
Views: 16913

Would this sort of thing do what you want?: convert logo: -pointsize 36 -font Times-New-Roman -fill rgba(100%,0,0,0.3) -gravity southwest -annotate +0+0 "Hello Wizards Everywhere!" logo_sig.jpg rgba sets the colour to pure red and the alpha to 0.3 Note to the wizards: changing the gravity ...
by el_supremo
2007-01-06T15:59:34-07:00
Forum: MagickWand for PHP
Topic: How to add mask in magickhand (php)
Replies: 11
Views: 47602

I'm not sure which composite operator you need but it might work with DstIn instead of DstOut.

Pete
by el_supremo
2007-01-06T13:42:28-07:00
Forum: MagickWand for PHP
Topic: How to add mask in magickhand (php)
Replies: 11
Views: 47602

I don't know how to do this in PHP and I haven't used that specific technique in C, but I think the command you need will look something like this C function: MagickCompositeImage(magick_wand,mask_wand,DstOutCompositeOp,0,0); where magick_wand is the imported image and mask_wand is, of course, the m...
by el_supremo
2007-01-03T21:22:15-07:00
Forum: Users
Topic: Windows Explorer Thumbnails
Replies: 4
Views: 13035

It is extracting and showing the thumbnail image that is embedded within the jpg file. If you add a -strip argument to your convert command it will remove the thumbnail (and all exif and profiles too) and then XP will show you the actual image because it has to create a thumbnail from the "real...
by el_supremo
2007-01-03T08:11:26-07:00
Forum: Users
Topic: installation problem
Replies: 1
Views: 6834

Windows also has a convert command (I don't know what it does) and that is what is being executed instead of the ImageMagick command.
One way around this is to rename the ImageMagick command to imconvert.exe and then always use the name imconvert.

Pete
by el_supremo
2006-12-20T15:28:21-07:00
Forum: Users
Topic: identify.exe output to file?
Replies: 2
Views: 10662

I was closing the file pointer returned by freopen

That's the correct thing to do. My brain obviously wasn't in gear when I wrote fclose(stdout)!. Sorry.

Pete
by el_supremo
2006-12-19T20:04:30-07:00
Forum: Users
Topic: Specials characters under MS windows
Replies: 3
Views: 10333

I couldn't get %f to work with the text subcommand of "draw" (even when I added a coordinate after the text subcommand). But I could get it to work with the annotate command. You also have to put two percents in the string so that DOS doesn't interpret %f as a variable name. Try a command ...
by el_supremo
2006-12-15T08:08:12-07:00
Forum: Users
Topic: Problems using "-draw" on a TIFF file.
Replies: 6
Views: 18346

:D Glad I could help :D
by el_supremo
2006-12-14T15:38:17-07:00
Forum: Users
Topic: Problem with convert, no errors and no destination images.
Replies: 6
Views: 15911

With IM 6.3.1 and GS 8.53 I got both commands to render the pages if -density is moved after the input filename:

Code: Select all

convert -strip -profile USWebCoatedSWOP.icc mamoetMagazine.pdf -density 117.32 -resize 970 -profile sRGB.icm mamoetMagazine\big\img.jpg
Pete
by el_supremo
2006-12-14T11:43:55-07:00
Forum: Users
Topic: Problems using "-draw" on a TIFF file.
Replies: 6
Views: 18346

Add +matte before the output filename.

Pete
by el_supremo
2006-12-14T09:08:37-07:00
Forum: Users
Topic: Problem with false(?) dpi value
Replies: 8
Views: 21687

The problem is that Photoshop is getting the dpi from a Makernote in the header. Makernotes are proprietary info put there by, for example, Nikon or Canon when the image was originally produced by a scanner or camera. AFAIK ImageMagick can't read the Makernote. I've done a quick google and can't fin...