Search found 27 matches
- 2011-11-17T23:48:02-07:00
- Forum: Users
- Topic: Detect corrupt images with the C API
- Replies: 12
- Views: 30851
Re: Detect corrupt images with the C API
This is the behavior I read in the api and I expect it. This works for non image files or non existing files. In this cases a error is thrown. For images like corrupt jpg files (not all image data was written) it don't work. I'm a Java programmer and not familiar with C. I use a java library (it's l...
- 2011-11-17T13:08:05-07:00
- Forum: Users
- Topic: composite image woes with newer ImageMagick version
- Replies: 4
- Views: 10142
Re: composite image woes with newer ImageMagick version
Try the following command
convert -composite -transparent white A.png B.png -flatten +matte C.png
convert -composite -transparent white A.png B.png -flatten +matte C.png
- 2011-11-17T07:00:58-07:00
- Forum: Users
- Topic: Detect corrupt images with the C API
- Replies: 12
- Views: 30851
Detect corrupt images with the C API
Hello,
is there a way to detect corrupted images with the C API, like image files with a "premature end of data segment" error?
The command line tools have the "regard-warnings" to fail for such errors.
Thank you
is there a way to detect corrupted images with the C API, like image files with a "premature end of data segment" error?
The command line tools have the "regard-warnings" to fail for such errors.
Thank you
- 2010-11-02T23:17:58-07:00
- Forum: Bugs
- Topic: 8BIM and IPTC can't be read
- Replies: 5
- Views: 12762
Re: 8BIM and IPTC can't be read
Please use this link http://bit.ly/bKGiO5
- 2010-11-02T05:33:37-07:00
- Forum: Bugs
- Topic: 8BIM and IPTC can't be read
- Replies: 5
- Views: 12762
Re: 8BIM and IPTC can't be read
A test file can be download from http://rapidshare.com/files/428475706/t ... h_iptc.jpg
I run the command:
>convert test_iptc.jpg IPTC:out.iptc
Magick: no 8BIM data is available `out.iptc' @ error/meta.c/WriteMETAImage/2285.
I run the command:
>convert test_iptc.jpg IPTC:out.iptc
Magick: no 8BIM data is available `out.iptc' @ error/meta.c/WriteMETAImage/2285.
- 2010-11-02T05:25:45-07:00
- Forum: Bugs
- Topic: 8BIM and IPTC can't be read
- Replies: 5
- Views: 12762
Re: 8BIM and IPTC can't be read
It seems it have something to do with the bug '8BIM data length is wrong' ( http://www.imagemagick.org/discourse-server/viewtopic.php?f=3&t=17030 ) because I get an similar error by reading an image file (8BIM data length wrong) with an older imagemagick version (6.5.7-Q8) convert: no IPTC profi...
- 2010-11-02T05:11:16-07:00
- Forum: Bugs
- Topic: 8BIM and IPTC can't be read
- Replies: 5
- Views: 12762
8BIM and IPTC can't be read
There is a problem by reading the 8BIM/IPTC segment and writing it to a file. >convert test_with_iptc.jpg IPTC:out.iptc Magick: no IPTC data is available `out.iptc' @ error/meta.c/WriteMETAImage/2285. >convert test_with_iptc.jpg 8BIM:out.8bim Magick: no 8BIM data is available `out.8bim' @ error/meta...
- 2010-10-04T04:00:16-07:00
- Forum: Bugs
- Topic: 8BIM data length is wrong
- Replies: 8
- Views: 19489
Re: 8BIM data length is wrong
Tests with the current version (6.6.4-8 2010-09-29 Q16) don't work, the bug is still in. The written 8bim length is now 0x00C6.
- 2010-09-18T20:08:46-07:00
- Forum: Bugs
- Topic: 8BIM data length is wrong
- Replies: 8
- Views: 19489
Re: 8BIM data length is wrong
Ok, I create a zip file what include a test image and a test iptc file. You can download it under http://rapidshare.com/files/419889424/8 ... c_test.zip (maximum 10 downloads).
I use the command: convert test_without_iptc.jpg -profile iptc:test.iptc t1.jpg
Thank you.
I use the command: convert test_without_iptc.jpg -profile iptc:test.iptc t1.jpg
Thank you.
- 2010-09-18T19:09:13-07:00
- Forum: Bugs
- Topic: 8BIM data length is wrong
- Replies: 8
- Views: 19489
Re: 8BIM data length is wrong
Thank you for your answer. I test it with the new version (6.6.4-4) but the bug is still in. I can see only one changes, now 0x00C6 as 8BIM length is written.
- 2010-09-15T19:00:22-07:00
- Forum: Bugs
- Topic: 8BIM data length is wrong
- Replies: 8
- Views: 19489
Re: 8BIM data length is wrong
Can anybody agree with me this is a bug? Maybe I have to explain it in more detail. Here is a hex dump from my image after iptc was written with the command: convert test_without_iptc.jpg -profile iptc:test.iptc test_with_iptc.jpg 00000000 FF D8 FF E0 00 10 4A 46 49 46 00 01 01 01 01 2C ÿØÿà..JFIF.....
- 2010-09-08T22:34:06-07:00
- Forum: Bugs
- Topic: 8BIM data length is wrong
- Replies: 8
- Views: 19489
8BIM data length is wrong
I was wondering why identify don't show an included IPTC profile after I insert it in a jpg file. Only a 8BIM profile should be included. After I inspect this I found IM write a wrong 8BIM data length (not the jpeg segment data length). I try some times with different iptc data and always '01 E0' as...