Search found 25563 matches

by fmw42
2019-09-26T09:54:18-07:00
Forum: Users
Topic: Large 1bit Tiffs take forever
Replies: 26
Views: 160298

Re: Large 1bit Tiffs take forever

100,000x75,000 = 7.5 GB as a single channel 8-bit image. Even though you have binary data, ImageMagick will convert that to 32*bits internally to process, I believe, So 7.5*4=30 GB. So you are likely thrashing to disk a lot. If you use ImageMagick 7, I think ImageMagick will keep it as a single 8-bi...
by fmw42
2019-09-26T09:48:14-07:00
Forum: Users
Topic: PDF to JPG clipping path
Replies: 6
Views: 70544

Re: PDF to JPG clipping path

Your pdf has no clip path (nor an 8bim profile to get it from). But the PDF does contain an image with a clip path. So you need to extract it from the PDF vector shell. Then you can combine them to make the background transparent. To do this you can use pdfimages tool. See https://manpages.debian.or...
by fmw42
2019-09-25T21:55:37-07:00
Forum: PerlMagick
Topic: zlib filtering PNGs
Replies: 1
Views: 130305

Re: zlib filtering PNGs

Please always provide your ImageMagick version and platform and the exact command(s) you used. I do not see any option for compression called Z_filtered. convert -list compress B44A B44 BZip DXT1 DXT3 DXT5 Fax Group4 JBIG1 JBIG2 JPEG2000 JPEG LosslessJPEG Lossless LZMA LZW None Piz Pxr24 RLE Runleng...
by fmw42
2019-09-25T16:19:02-07:00
Forum: Users
Topic: Detecting multiple images in one image file
Replies: 19
Views: 170227

Re: Detecting multiple images in one image file

Threshold your image to get black rectangles on white background. Then use -connected-components to get the bounding boxes of the black rectangles. Then use this to crop your input image.
by fmw42
2019-09-25T12:21:57-07:00
Forum: Users
Topic: grayscale PDF to diffusion dithered bitmap
Replies: 7
Views: 8435

Re: grayscale PDF to diffusion dithered bitmap

What commands did you do in Photoshop? The best I can do without further information about how processed your image is as follows: convert -colorspace sRGB TOGDESIGNER_210072_1569340440320_A2.pdf -background white -alpha background -alpha off -dither FloydSteinberg -remap bw.gif TOGDESIGNER_210072_1...
by fmw42
2019-09-25T11:55:35-07:00
Forum: Users
Topic: Large 1bit Tiffs take forever
Replies: 26
Views: 160298

Re: Large 1bit Tiffs take forever

It comes with libtiff, the delegate that ImageMagick uses for processing tiff files. Search Google for libtiff
by fmw42
2019-09-25T10:53:34-07:00
Forum: Users
Topic: grayscale PDF to diffusion dithered bitmap
Replies: 7
Views: 8435

Re: grayscale PDF to diffusion dithered bitmap

Note: to process PDF files, your ImageMagick must have Ghostscript installed. ImageMagick uses Ghostscript. If you have it installed, then check the version of it. Perhaps you need to upgrade. Also note that GS 9.26 and 9.27 reportedly have bugs. So upgrade to 9.23, 9.24 or 9.25.
by fmw42
2019-09-25T10:34:20-07:00
Forum: Users
Topic: grayscale PDF to diffusion dithered bitmap
Replies: 7
Views: 8435

Re: grayscale PDF to diffusion dithered bitmap

What is your ImageMagick version and platform/OS. What was your exact command line? The following works fine for me on IM 6.9.10.65 Q16 Mac OSX. To TIFF: convert TOGDESIGNER_210072_1569340440320_A2.pdf TOGDESIGNER_210072_1569340440320_A2.tif or To PNG: convert TOGDESIGNER_210072_1569340440320_A2.pdf...
by fmw42
2019-09-25T10:23:33-07:00
Forum: Users
Topic: grayscale PDF to diffusion dithered bitmap
Replies: 7
Views: 8435

Re: grayscale PDF to diffusion dithered bitmap

The file is a TIFF created from a PDF. As it is, it is a binary (two color) image -- only white and black. There is no gradient. Perhaps in the original PDF there might have been. But when the image was converted to TIFF from PDF, it was binarized into two colors, black and white. You should find th...
by fmw42
2019-09-25T10:09:06-07:00
Forum: Users
Topic: Detecting multiple images in one image file
Replies: 19
Views: 170227

Re: Detecting multiple images in one image file

See my bash unix shell script that uses ImageMagick called multicrop2 at my link below. It runs on Mac OSX, Linux and Windows Unix. Input: http://www.fmwconcepts.com/misc_tests/multicrop/crop-me.jpg multicrop2 -f 25 -b white -d 1000 -u 3 crop-me.jpg result.png http://www.fmwconcepts.com/misc_tests/m...
by fmw42
2019-09-24T23:17:41-07:00
Forum: Users
Topic: How can I determine the visual, background color?
Replies: 1
Views: 4654

Re: How can I determine the visual, background color?

What is your ImageMagick version and platform/OS? Post some example images.
by fmw42
2019-09-24T18:59:17-07:00
Forum: Users
Topic: Large 1bit Tiffs take forever
Replies: 26
Views: 160298

Re: Large 1bit Tiffs take forever

What version of ImageMagick and what platform? IM 6 will treat it as color (>=3 channels). But IM 7 will treat it as one channel, assuming no transparency. So IM 6 will need more RAM. How big is your image in width and height? How much RAM do you have?
by fmw42
2019-09-24T18:55:25-07:00
Forum: Bugs
Topic: PNG to SVG conversion fails with ImageMagick 7.0.8-64
Replies: 13
Views: 116410

Re: PNG to SVG conversion fails with ImageMagick 7.0.8-64

Wait for one of the ImageMagick developers to comment. It is now beyond my knowledge.
by fmw42
2019-09-24T09:19:17-07:00
Forum: Users
Topic: PDF to JPG clipping path
Replies: 6
Views: 70544

Re: PDF to JPG clipping path

What is your IM version and platform? Post your PDF file so we can examine it.
by fmw42
2019-09-24T09:17:02-07:00
Forum: Bugs
Topic: PNG to SVG conversion fails with ImageMagick 7.0.8-64
Replies: 13
Views: 116410

Re: PNG to SVG conversion fails with ImageMagick 7.0.8-64

add -verbose to your commands for each version of IM and see what tools and versions are being used.

Perhaps the delegates for SVG in delegates.xml are set up differently.

Is Potrace your SVG delegate? See delegates.xml