Search found 12028 matches

by snibgo
2019-09-05T05:11:53-07:00
Forum: Developers
Topic: memory allocation failed
Replies: 1
Views: 382

Re: memory allocation failed

... i needed to do a change in the code ... i now started to get errors of type memory allocation failed I suppose your change allocates memory, so there is less available for other processes. I suppose flood fill uses a stack in memory, and I expect that could be large. If your memory allocation i...
by snibgo
2019-09-04T14:51:53-07:00
Forum: Users
Topic: convert grayscale tif to grayscale png not working
Replies: 5
Views: 767

Re: convert grayscale tif to grayscale png not working

You used exiftool on your input. But you care more about the output format, so use exiftool on the output.
by snibgo
2019-09-04T13:59:17-07:00
Forum: Users
Topic: convert grayscale tif to grayscale png not working
Replies: 5
Views: 767

Re: convert grayscale tif to grayscale png not working

Your images only has two colours. Do you really care how they are stored in the file?

IM doesn't say how the pixels are stored. If you want to know that, use exiftool.
by snibgo
2019-09-04T07:10:55-07:00
Forum: Users
Topic: Simplest to add a background image to a batch of images
Replies: 2
Views: 611

Re: Simplest to add a background image to a batch of images

What version of IM, on what platform? The first step is to find the IM command that does what you want to a single input image. Perhaps: magick in.png backgnd.png -composite out.png When you know what command you need, the simplest way to apply that to all the images is to put that command in a shel...
by snibgo
2019-09-04T07:04:29-07:00
Forum: Bugs
Topic: .png to .pdf conversion is failing with memory allocation error.
Replies: 12
Views: 2220

Re: .png to .pdf conversion is failing with memory allocation error.

Sorry, I don't know what else to suggest.
by snibgo
2019-09-04T05:55:45-07:00
Forum: Users
Topic: Compressing HEIC/HEIF files
Replies: 1
Views: 548

Re: Compressing HEIC/HEIF files

Code: Select all

f:\web\im>%IMG7%magick -list format |grep HEIC

     HEIC* HEIC      r--   Apple High efficiency Image Format
The version of IM on my computer, v7.0.7-28, can read HEIC files but cannot write them.
by snibgo
2019-09-04T05:11:52-07:00
Forum: Bugs
Topic: Possible bug -auto-orient
Replies: 4
Views: 547

Re: Possible bug -auto-orient

ImageMagick identify -verbose, and exiftool, both say the orientation flag is "rotate 180". I used my own image viewer that I know ignores the orientation flag. That shows the house the correct way up. Then I used Microsoft Photo Viewer, which I know respects the orientation flag. That shows the hou...
by snibgo
2019-09-03T19:17:40-07:00
Forum: Bugs
Topic: Possible bug -auto-orient
Replies: 4
Views: 547

Re: Possible bug -auto-orient

The linked image http://www.fmwconcepts.com/misc_tests/MI-LANSING-240267-org-000.jpg is a photo of a house, the correct way up. But it has an incorrect orientation flag, claiming it needs to be rotated by 180 degrees. IM's "-auto-orient" correctly rotates the image by 180 degrees, and changes the or...
by snibgo
2019-09-03T07:21:27-07:00
Forum: Magick++
Topic: convert: no images defined `temp3.tiff' @ error/convert.c/ConvertImageCommand/3273
Replies: 5
Views: 501

Re: convert: no images defined `temp3.tiff' @ error/convert.c/ConvertImageCommand/3273

I thought you might try running GS with subprocess.Popen(). Anyhow, if you can't run GS from within python, there is no chance of IM running GS within python.

Sorry, I don't know what the problem is or how to fix it. But you might check privileges of the required files.
by snibgo
2019-09-03T05:36:03-07:00
Forum: Magick++
Topic: convert: no images defined `temp3.tiff' @ error/convert.c/ConvertImageCommand/3273
Replies: 5
Views: 501

Re: convert: no images defined `temp3.tiff' @ error/convert.c/ConvertImageCommand/3273

Can you execute a Ghostscript command from python? Perhaps that need the full path to the GS program. If so, then check your delegates.xml file, and ensure that has the same full path.
by snibgo
2019-09-03T05:04:28-07:00
Forum: Magick++
Topic: convert: no images defined `temp3.tiff' @ error/convert.c/ConvertImageCommand/3273
Replies: 5
Views: 501

Re: convert: no images defined `temp3.tiff' @ error/convert.c/ConvertImageCommand/3273

What version of IM? What version of Ghostscript? What was your exact command? What is the text output when you insert "-verbose" in the command? Can you convert from other input formats? If so, then I suspect you can't access Ghostscript from within python or java. Perhaps you have a path or privile...
by snibgo
2019-09-02T17:53:49-07:00
Forum: Bugs
Topic: Possible bug IM 7.0.8.63 Q16 Mac OSX with JPG output
Replies: 6
Views: 926

Re: Possible bug IM 7.0.8.63 Q16 Mac OSX with JPG output

Inserting "+write info:" before the output, it says: Unknown.jpg JPEG 1035x1793 8-bit Bilevel sRGB 0.000u 0:00.000 I'm not sure what a bilevel sRGB image is, but writing it to JPG removes colour. You have "-type bilevel". The only effect this has is on the output. If you want a bilevel output, I sug...
by snibgo
2019-09-02T09:18:45-07:00
Forum: Users
Topic: PHP Resize based on overlaying image
Replies: 5
Views: 762

Re: PHP Resize based on overlaying image

That depends on what you want. I encourage you to try it out:

Code: Select all

magick -size 2000x2000 xc: -resize 500x800^ info:

xc: XC 800x800 800x800+0+0 16-bit sRGB 1.844u 0:00.250
The result is 800x800 pixels.
by snibgo
2019-09-02T07:57:58-07:00
Forum: Users
Topic: PHP Resize based on overlaying image
Replies: 5
Views: 762

Re: PHP Resize based on overlaying image

For exact resizing, and other options, see http://www.imagemagick.org/script/comma ... p#geometry

Yes, after resizing, one image may be cropped. Or the other could be extended. See options on http://www.imagemagick.org/script/comma ... ptions.php
by snibgo
2019-09-02T07:37:00-07:00
Forum: Users
Topic: PHP Resize based on overlaying image
Replies: 5
Views: 762

Re: PHP Resize based on overlaying image

When resizing one image to the size of another, if they have different aspect ratios then you have a choice of either resizing exactly or keeping the original aspect ratio. You can't do both.

Please show sample input images. ".php" is not a format known to IM.