Saving Word/PDF to TIFF without alpha channel

com.aspose.words.Document wordDoc = 
   new com.aspose.words.Document(new ByteArrayInputStream(content));
ImageSaveOptions options = new ImageSaveOptions(SaveFormat.TIFF);
options.setTiffCompression(TiffCompression.LZW);
options.setColorMode(ColorMode.GRAYSCALE);
options.setResolution(200);

ByteArrayOutputStream bos = new ByteArrayOutputStream();
wordDoc.save(bos, options);

When I use this code, I always get TIFFs with (from tiffinfo tool):
Bits/Sample: 8 Samples/Pixel: 4
I suppose, 4 is for RGB+Alpha. Processing the the result again with Aspose.Images if finally get what I need: Bits/Sample: 8 Samples/Pixel: 3. But that’s not an option in the production environment, because is lasts twice as long.
Is there any way to get 24bit TIFFs directly? I’m using Aspose.Words for Java, 18.5 btw.
Thank you!
Regards,
Otto

@otto.eisenschmid

In your case, we suggest you please use ImageSaveOptions.PixelFormat property to set the pixel format for the generated images. You can use ImagePixelFormat.FORMAT_24_BPP_RGB value for this property to get the desired output. Hope this helps you.