Convert jp2 with alpha channel to tif

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
dcarubia
Posts: 1
Joined: 2015-08-22T10:37:45-07:00
Authentication code: 1151

Convert jp2 with alpha channel to tif

Post by dcarubia »

I have over a thousand 64bit RGBI scans from Vuescan. They all contain RGB channels as well as one alpha channel that contains the infrared scratch information needed for ICE scratch and dust removal. Needless to say, they take up alot of space! I want to try to archive these scans using jpeg2000.

All of these scans use the tif format. Using ImageMagick I've been able to successfully test the conversion from tif to jpeg2000. The Jpeg2000 file preserves the alpha channel. Using photoshop CC 2015 I can convert the jpeg2000 back to a tif which can subsequently be used by the Vuescan software to "scan from a file."

While the process described above does work, I'd like to be able to convert from jpeg2000 to tif using the "convert" program.

I've tried to convert the jpeg2000 file to a tif file using ImageMagick's "convert" program, but the alpha channel is not preserved in the resulting tif.

So, if I want to convert a jpeg2000 file with RGB channels and one alpha channel to tif and preserve the alpha channel, what options are available to accomplish that?
User avatar
dlemstra
Posts: 1570
Joined: 2013-05-04T15:28:54-07:00
Authentication code: 6789
Contact:

Re: Convert jp2 with alpha channel to tif

Post by dlemstra »

Can you share one of your images so we can see why the alpha channel is not saved to the TIFF file?
.NET + ImageMagick = Magick.NET https://github.com/dlemstra/Magick.NET, @MagickNET, Donate
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Convert jp2 with alpha channel to tif

Post by fmw42 »

Please also provide your version of Imagemagick and platform (whenever you ask a question). And also your exact command line.
Post Reply