Search found 17 matches
- 2014-11-05T09:40:47-07:00
- Forum: Users
- Topic: IIQ RAW images / generic RAW support
- Replies: 1
- Views: 4026
IIQ RAW images / generic RAW support
I'm dealing with some Phase One .IIQ RAW images. It looks like ImageMagick doesn't yet support these, but like most RAW images, they smell like TIFFs and get processed as such, although IM uses the preview image embedded in the file rather than the full image. If I force ImageMagick to treat it as a ...
- 2014-10-29T10:23:06-07:00
- Forum: Users
- Topic: MagickSetImageIndex() and profiles
- Replies: 0
- Views: 4050
MagickSetImageIndex() and profiles
For some real-world images (usually TIFFs or TIFF-like images, e.g. NEF), we find that there are multiple images in the format, e.g. a preview thumbnail as well as the main image. For our image processing we iterate through them using MagickGetNumberImages() and MagickSetIndex() looking for the ...
- 2014-08-08T03:51:29-07:00
- Forum: Users
- Topic: Dealing with alpha layers in TIFF->JPEG conversions
- Replies: 12
- Views: 37358
Re: Dealing with alpha layers in TIFF->JPEG conversions
For those of you using ImageMagick programatically:
Code: Select all
if (MagickGetImageProperty(w, "tiff:alpha") = "unassociated")
MagickSetImageAlphaChannel(w, DeactivateAlphaChannel)
- 2014-08-08T03:25:58-07:00
- Forum: Bugs
- Topic: [CLOSED] Scaling TIFF loses pixels
- Replies: 3
- Views: 4926
- 2014-08-08T03:19:24-07:00
- Forum: Bugs
- Topic: [CLOSED] Scaling TIFF loses pixels
- Replies: 3
- Views: 4926
Re: Scaling TIFF loses pixels
Thanks. Does -alpha off only affect unassociated alpha, or all alpha? I.e. can I use it as a default for all images I process. Otherwise, is there a way I can detect unassociated alpha programatically? Is there a reason why converting to JPEG behaves differently to scaling and then converting to ...
- 2014-08-07T09:55:16-07:00
- Forum: Bugs
- Topic: [CLOSED] Scaling TIFF loses pixels
- Replies: 3
- Views: 4926
[CLOSED] Scaling TIFF loses pixels
I have a problematic TIFF which a) does not display correctly in imdisplay.exe - the dimensions of the image are correct, but only a thin strip of the image is rendered on a transparent background b) converts to JPEG correctly at full size - the output is the whole image c) does not convert to JPEG ...
- 2014-06-13T03:34:24-07:00
- Forum: Bugs
- Topic: Converting a transparent TIFF to PNG loses pixels
- Replies: 8
- Views: 13617
Re: Converting a transparent TIFF to PNG loses pixels
Thanks for your input guys.
I've removed the TIFF for the moment, but left the other output referenced in this thread. If any developers want to pursue the fault, give me a shout, I can re-supply the TIFF.
I've removed the TIFF for the moment, but left the other output referenced in this thread. If any developers want to pursue the fault, give me a shout, I can re-supply the TIFF.
- 2014-06-06T05:27:33-07:00
- Forum: Bugs
- Topic: Converting a transparent TIFF to PNG loses pixels
- Replies: 8
- Views: 13617
Re: Converting a transparent TIFF to PNG loses pixels
Apologies for -geometry. (I'm not really an IM command line user, I program using the IM APIs, and when things go wrong, I try to find the command line equivalents to see whether convert behaves as expected and it's my use of the API that's wrong.) FWIW I've verified that -geometry 300x300 and ...
- 2014-06-05T03:24:07-07:00
- Forum: Bugs
- Topic: Converting a transparent TIFF to PNG loses pixels
- Replies: 8
- Views: 13617
Re: Converting a transparent TIFF to PNG loses pixels
The previous identify output was indeed from an old ImageMagick as you suspected (6.2.8 from CentOS 5.10). Below is the output from 6.8.9-2, which reverses the Alpha min/max. Although the post subject references PNG, that's mainly because converting to PNG was the easiest way to reproduce the fault ...
- 2014-06-04T10:50:28-07:00
- Forum: Bugs
- Topic: Converting a transparent TIFF to PNG loses pixels
- Replies: 8
- Views: 13617
Converting a transparent TIFF to PNG loses pixels
I'm using ImageMagick 6.8.9-2 (which exhibits the same behaviour as 6.7.7-7, the oldest version I tested), built from source on Linux. The problem was reported in a system that uses 6.7.1 on Windows (installed using the official installer, i.e., it's probably nothing to do with how I'm building from ...
- 2013-09-13T07:58:03-07:00
- Forum: Users
- Topic: EPS MagickTransformImageColorspace() colour issue
- Replies: 6
- Views: 7007
Re: EPS MagickTransformImageColorspace() colour issue
Sadly MagickSetColorspace() doesn't appear to have any effect, at least not with the versions of ImageMagick I've been working with (6.7.7-7 is the one we're currently working with). No matter what I set the colourspace to, after reading the image with MagickReadImage() I seem to have a CMYK image ...
- 2013-07-02T05:48:33-07:00
- Forum: Users
- Topic: EPS MagickTransformImageColorspace() colour issue
- Replies: 6
- Views: 7007
Re: EPS MagickTransformImageColorspace() colour issue
Ah no I was mistaken; it's left me with a CMYK JPEG which looks correct but isn't what I'm after.
- 2013-07-02T05:33:32-07:00
- Forum: Users
- Topic: EPS MagickTransformImageColorspace() colour issue
- Replies: 6
- Views: 7007
Re: EPS MagickTransformImageColorspace() colour issues
Thanks, that appears to have done the trick. The following code now produces a much better image: defconst MAGICK_RGBColorspace = 1 def main () { local infile = info("argv 1") local outfile = info("argv 2") local w = NewMagickWand() MagickSetImageColorspace(w, MAGICK_RGBColorspace) MagickReadImage(w ...
- 2013-07-02T04:21:44-07:00
- Forum: Users
- Topic: EPS MagickTransformImageColorspace() colour issue
- Replies: 6
- Views: 7007
EPS MagickTransformImageColorspace() colour issue
My question relates to EPS colorspace conversions, but ultimately it's really about how to change the format of an image in memory. I'm using IM 6.7.5-4 (with later versions we have issues with dark JPEGs which we've not yet got to the bottom of). I have a CMYK EPS file which I convert to RGB JPEG ...
- 2012-10-26T11:23:09-07:00
- Forum: Bugs
- Topic: MagickSetImageAlphaChannel always returns MagickFalse?
- Replies: 1
- Views: 4184
MagickSetImageAlphaChannel always returns MagickFalse?
In ImageMagick 6.7.9-4, there are several code paths in SetImageAlphaChannel (magick/channel.c) that will always return MagickFalse. The 'status' variable that is ultimately returned is initialised to MagickFalse, but the switch cases for ActivateAlphaChannel and DeactivateAlphaChannel (for example ...