0

I'm developing an application that loads a TIFF image, concatenate it with another image I created in runtime and save the concatenated one without changing format of the original TIFF.

I'm able to do that using TiffBitmapEncoder & TiffBitmapDecoder + BitmapSource.CopyPixels - With CMYK tiff images only

A special case is TIFF CMYK with an additional Alpha channel (yes, it's 40bits depth), and I'm stuck. I need to use TiffBitmapDecoder to save the file after modification, but I can only specify format PixelFormats.Cmyk32 for it, and that is not the correct format in case having Alpha channel. The original format wasn't recognizable by TiffBitmapEncoder fyi..

What can I do/try here to achieve my purpose?

Hoang Duc Nguyen
  • 389
  • 4
  • 13
  • Duplicates: https://stackoverflow.com/questions/4068801/wpf-bitmapimage-and-tiff-with-cmyk-alpha & https://stackoverflow.com/questions/48929763/save-tiff-with-transparency-alpha-channel –  Dec 12 '20 at 14:44
  • Also this article: https://www.graphicsmill.com/docs/gm5/WorkingwithTIFFExtraChannels.htm –  Dec 12 '20 at 14:45
  • I tried to evaluate graphics mill API using trial license. Unluckily, it doesn't work with desktop application. – Hoang Duc Nguyen Dec 16 '20 at 13:41

0 Answers0