https://dl.dropbox.com/u/11615635/bad.png
-set colorspace RGB is what I was looking for:
convert bad.png txt:- | head -2 ; convert bad.png -set colorspace RGB -colorspace gray g.png; convert g.png txt:- | head -2
# ImageMagick pixel enumeration: 640,480,255,srgb
0,0: ( 35, 37, 52) #232534 srgb(35 ...
Search found 3 matches
- 2012-07-26T18:48:14-07:00
- Forum: Developers
- Topic: colorspace sRGB vs RGB
- Replies: 8
- Views: 31871
- 2012-07-26T16:40:50-07:00
- Forum: Developers
- Topic: colorspace sRGB vs RGB
- Replies: 8
- Views: 31871
Re: colorspace sRGB vs RGB
Hmmm ... just realized I'm not spanning 6.7.5-5 so maybe this isn't related?
I'm still unsure if I'm doing something wrong or if it's a bug.
I'm still unsure if I'm doing something wrong or if it's a bug.
- 2012-07-26T16:38:26-07:00
- Forum: Developers
- Topic: colorspace sRGB vs RGB
- Replies: 8
- Views: 31871
Re: colorspace sRGB vs RGB
I think this is related, but I'm not entirely sure how, so I thought I'd plea for help:
I have a png that I'm using IM to convert to grayscale. The png has no colorspace info in it. The info below uses convert, but I'm actually using ExportImagePixels.
pngcheck -vvt bad.png | head
File: bad.png ...
I have a png that I'm using IM to convert to grayscale. The png has no colorspace info in it. The info below uses convert, but I'm actually using ExportImagePixels.
pngcheck -vvt bad.png | head
File: bad.png ...