convert tiff to pdf
Posted: 2015-11-18T14:56:28-07:00
Hello,
I need to convert a tiff file that has Lab colorspace to a pdf file, and preserve the Lab colorspace to the output pdf.
I used :
convert fileLAB.tiff output.pdf, or
convert fileLAB.tiff -colorspace Lab output.pdf
Also I tried to use folowing code snipet into a C source:
MagickWand* mw;
MagickWandGenesis();
mw = NewMagickWand();
MagickReadImage(mw,"fileLAB.tiff");
MagickSetImageColorspace(mw, LabColorspace );
MagickWriteImage(mw,"output.pdf");
DestroyMagickWand(mw);
MagickWandTerminus();
The problem is that the output.pdf has sRGB colorspace instead of original Lab colorspace.
Does anyone have a solution for preserve Lab colorspace to the putput.pdf ?
Thank you.
I need to convert a tiff file that has Lab colorspace to a pdf file, and preserve the Lab colorspace to the output pdf.
I used :
convert fileLAB.tiff output.pdf, or
convert fileLAB.tiff -colorspace Lab output.pdf
Also I tried to use folowing code snipet into a C source:
MagickWand* mw;
MagickWandGenesis();
mw = NewMagickWand();
MagickReadImage(mw,"fileLAB.tiff");
MagickSetImageColorspace(mw, LabColorspace );
MagickWriteImage(mw,"output.pdf");
DestroyMagickWand(mw);
MagickWandTerminus();
The problem is that the output.pdf has sRGB colorspace instead of original Lab colorspace.
Does anyone have a solution for preserve Lab colorspace to the putput.pdf ?
Thank you.