Search found 9 matches

by CatBurgers
2016-08-05T04:44:58-07:00
Forum: Users
Topic: Can imagemagick fix truncated or incomplete images
Replies: 3
Views: 7856

Can imagemagick fix truncated or incomplete images

http://3fc68be784075022e210-30c1eab61c34acaed3aaead7c78d5721.r93.cf5.rackcdn.com/p9080047.jpg When opened in photoshop, we get the error "This document may be damaged (the file may be truncated or incomplete)." and identify --verbose returns a ton of "identify.exe: Corrupt JPEG data: found marker ...
by CatBurgers
2016-08-03T04:42:06-07:00
Forum: Users
Topic: color profile operates on another colorspace icc
Replies: 3
Views: 6276

Re: color profile operates on another colorspace icc

That file has RGB pixels, not CMYK. True, it has an embedded CMYK profile, but this is meaningless with RGB images. Perhaps it has been converted from CMYK, without also removing the profile. I assume we could identify the issue beforehand by looking at the colorspace and making sure it fits the ...
by CatBurgers
2016-08-02T12:30:23-07:00
Forum: Users
Topic: color profile operates on another colorspace icc
Replies: 3
Views: 6276

color profile operates on another colorspace icc

We're trying to automate the conversion from different color profiles to sRGB in order not to have color shifts when working with different images. So what we're doing is looking at the output of the verbose identify command and looking for lines like "icc:description: U.S. Web Uncoated v2" and then ...
by CatBurgers
2015-12-11T09:16:22-07:00
Forum: Bugs
Topic: crop with 0 offset changes image's dimensions
Replies: 1
Views: 3083

crop with 0 offset changes image's dimensions

On 6.9.2-8 Q16 x64 for windows: Image a.png is 1472x208, to which I apply a crop using: convert.exe a.png -crop 1472x208+0+0 b.png Which shouldn't really do anything, but b.png is actually changed (it becomes 1398x208). If I remove the offset options with: convert.exe a.png -crop 1472x208 c.png Then ...
by CatBurgers
2014-12-09T11:44:29-07:00
Forum: Bugs
Topic: Embedded ICC profile is invalid in converted JPEG
Replies: 39
Views: 75682

Re: Embedded ICC profile is invalid in converted JPEG

Okay, so what I'm currently using is identify to detect the Grayscale type and exiftool to detect Color Components higher than one and if both these tests are positive, I use -type TrueColor when converting. Does that make sense?
by CatBurgers
2014-12-08T08:55:46-07:00
Forum: Bugs
Topic: Embedded ICC profile is invalid in converted JPEG
Replies: 39
Views: 75682

Re: Embedded ICC profile is invalid in converted JPEG

How would I identify the color channels? Using identify, both pre and post convert show

Code: Select all

Depth: 8-bit
Channel depth:
gray: 8-bit
by CatBurgers
2014-12-08T07:50:09-07:00
Forum: Bugs
Topic: Embedded ICC profile is invalid in converted JPEG
Replies: 39
Views: 75682

Re: Embedded ICC profile is invalid in converted JPEG

The American flag image is a grayscale JPEG. It contains at least two sRGB profiles. Grayscale images are only allowed to have grayscale ICC profiles. There must be something I'm not understanding. Like you said, the original image has two sRGB profile that I can tell using identify: icc ...
by CatBurgers
2014-12-05T13:06:49-07:00
Forum: Bugs
Topic: Embedded ICC profile is invalid in converted JPEG
Replies: 39
Views: 75682

Re: Embedded ICC profile is invalid in converted JPEG

I'm having a similar issue with this file: http://3fc68be784075022e210-30c1eab61c34acaed3aaead7c78d5721.r93.cf5.rackcdn.com/americanflag01BW.jpg Using the command: convert file.jpg -auto-orient output.jpg I get the aforementioned 'The embedded ICC profile cannot...' error in Photoshop CS 6 when ...
by CatBurgers
2014-10-03T12:15:29-07:00
Forum: Bugs
Topic: Imagemagick renders nothing depending on font and pointsize
Replies: 1
Views: 2300

Imagemagick renders nothing depending on font and pointsize

I'm using IM 6.8.9-6 Q16 x64 2014-07-22 on Windows 8. The font I'm using can be downloaded at http://b8003743f200b9f07ffc-605ac0594488c4079913e67a248550d5.r5.cf5.rackcdn.com/916_font_6dd12fa0-dc36-012e-7823-00163ec2dd1f The command I'm using is: convert -quiet -background none -fill "#000000 ...