Search found 28 matches

by macias
2010-12-30T11:26:43-07:00
Forum: Bugs
Topic: Black pixels in some PNG images become transparent
Replies: 8
Views: 20836

Re: Black pixels in some PNG images become transparent

I can confirm this with such info about IM versions:

IM 6.6.5-4 -- didn't happen for me
IM 6.6.6-4 -- I spotted this issue for the first time
IM 6.6.6-8 -- bug still exists
by macias
2010-12-11T10:22:53-07:00
Forum: Bugs
Topic: Problems with PNG
Replies: 26
Views: 61064

Re: Problems with PNG

Ok, now I test IM 6.6.6-4 Both calls (see previous post) produce correct (visually) outputs now, however the second call still gives error/warning: convert: Cannot write image with defined PNG:bit-depth or PNG:color-type. `x.png' @ warning/png.c/PNGWarningHandler/1350. Despite this, the image is ...
by macias
2010-10-31T01:51:52-07:00
Forum: Bugs
Topic: Problems with PNG
Replies: 26
Views: 61064

Re: Problems with PNG

No, I didn't try it -- I prepared the test image using Gimp. Steps how to reproduce it: For blank image: 1. create white, blank image 2. set the color space to RGB 3. save For image with content: 1. open any image 2. convert it to indexed colorspace, black&white 3. convert it to RGB color space 4 ...
by macias
2010-10-29T23:59:05-07:00
Forum: Bugs
Topic: Problems with PNG
Replies: 26
Views: 61064

Re: Problems with PNG

I am currently struggling with converting png image to black&white. I've took a peek at the link fmw42 gave ( http://www.imagemagick.org/Usage/formats/#png_write ) and there is an example: And for a simple two color image... convert {input_image} -type BiLevel bitmap.png So I tested this call, and ...
by macias
2010-10-29T23:51:12-07:00
Forum: Users
Topic: How can I convert grayscale image to black&white?
Replies: 7
Views: 18200

Re: How can I convert grayscale image to black&white?

Indiego, thanks. Now I get the indexed image. Strange thing though, it is as big as grayscale image (it should be smaller, because now each pixel takes only 1 bit) -- for comparison Gimp is way more efficient. I will look further into those options. Thanks again! PS. I used this link: http://www ...
by macias
2010-10-29T11:56:53-07:00
Forum: Users
Topic: How can I convert grayscale image to black&white?
Replies: 7
Views: 18200

Re: How can I convert grayscale image to black&white?

Well, it works in sense, that there is an output, but the output is in grayscale, not indexed black&white. I checked it using Gimp.

Just to be sure, I updated ImageMagick to the latest of the latest -- still grayscale (but this time filesize is a bit smaller). But still, the image is not indexed.
by macias
2010-10-29T07:27:50-07:00
Forum: Users
Topic: How can I convert grayscale image to black&white?
Replies: 7
Views: 18200

How can I convert grayscale image to black&white?

Hello,

In theory -depth 1 or -colors 2 should work, but after converting the image (png file) I check it with Gimp and it says, it is grayscale, not indexed mode. So -- how can I convert it to black&white? Using IM of course, not Gimp :-).

Cheers,
by macias
2009-05-27T11:48:13-07:00
Forum: Bugs
Topic: multipage tiff split: libgomp: Thread creation failed ...
Replies: 3
Views: 15428

Re: multipage tiff split: libgomp: Thread creation failed ...

Thank you very much for the information. The only solution for me is splitting one by one, because with env. variable set to = 1 or with rebuild of IM, I still encounter problem with computer resources: * computer is nearly frozen * a lot of temporary files are created At the end convert was killed ...
by macias
2009-05-27T10:12:25-07:00
Forum: Bugs
Topic: multipage tiff split: libgomp: Thread creation failed ...
Replies: 3
Views: 15428

multipage tiff split: libgomp: Thread creation failed ...

I try to convert multipage tiff file into single files. No problem with relatively small source file, but when the file is getting bigger convert fails with the message: libgomp: Thread creation failed: Resource temporarily unavailable Tiff file is ok, I can read it using Gimp and extract single ...
by macias
2009-05-27T05:43:45-07:00
Forum: Bugs
Topic: [wish] no free space on disk -- say which one
Replies: 0
Views: 3862

[wish] no free space on disk -- say which one

I am out of the space a little, anyway I would like to run convert, to check why conversion does not succeed I added -verbose option, the output says: convert: unable to extend cache `X.tif': No space left on device @ cache.c/OpenPixelCache/3874. convert: zlib failed to initialize compressor -- mem ...
by macias
2009-05-21T11:47:19-07:00
Forum: Bugs
Topic: identify does not work as option for convert
Replies: 5
Views: 17905

Re: identify does not work as option for convert

> Perhaps I misunderstand what you are trying to do. But I always just use either: Ok, now I know identify is a program on its own. But manual says it is an option and can be used in any program from IM set. After all, users do read manuals :) And the error message is misleading (I would rather say ...
by macias
2009-05-21T09:50:12-07:00
Forum: Bugs
Topic: identify does not work as option for convert
Replies: 5
Views: 17905

Re: identify does not work as option for convert

Ok, this one works and now I see that convert requires for identify that the filename will go first.

convert layout.jpg -identify
not
convert -identify layout.jpg

A bit odd though, I don't know if it is intended. At least error message should be more informative (imho).
by macias
2009-05-21T08:50:14-07:00
Forum: Bugs
Topic: identify does not work as option for convert
Replies: 5
Views: 17905

identify does not work as option for convert

From manual it looks like identify should be a valid option for every ImageMagick program. For example convert.

convert -identify layout.jpg
convert: missing an image filename `layout.jpg' @ convert.c/ConvertImageCommand/2776.

identify as standalone program works.

IM 6.5.2-7
by macias
2009-02-28T01:09:40-07:00
Forum: Bugs
Topic: SIGSEGV in png.c 6.3.7-8
Replies: 24
Views: 48042

Re: SIGSEGV in png.c 6.3.7-8

Thank you very much for your answer. However looks like I am stuck because I use even newer version of libpng -- 1.2.35 :-( When I use --with-gslib=yes, one test fails (I am sorry I didn't include it before): validate image formats on disk: /home/macias/rpm/BUILD/ImageMagick-6.4.9-7/magick.sh: line ...
by macias
2009-02-27T13:04:11-07:00
Forum: Bugs
Topic: SIGSEGV in png.c 6.3.7-8
Replies: 24
Views: 48042

Re: SIGSEGV in png.c 6.3.7-8

> Does this work? Nope, also crashes. > Can you upgrade your version of Ghostscript or libpng? GS is already the newest, but just for being sure I upgraded libpng to the latest version. After this crash exactly as above. > The problem is most likely memory corruption but from where as you mentioned ...