Picture flipped(mirror image) after conversion to Color TIFF - 25035150
Posted: 2019-06-21T02:09:28-07:00
- Hi,
Please check below columns to understand Image flip issue with attached specific file ‘IMG_0233.jpg’ after conversion to Color TIFF.
- Subject ==> Picture flipped(mirror image) after conversion to Color TIFF - 25035150
- Problem description ==> We have a Customer issue for a specific image ‘IMG_0233.jpg’ file where image is flipped after conversion to Color/Grayscale, 300 or 200 resolution TIFF file using class ‘class MagickPPExport Image’. TIFF file viewed in IrfanView viewer.
- Replicate ==> We can see issue every time when we write code similar as in Code Snippet section below.
- Sample files ==> Attached Customer sample input file ‘IMG_0233.jpg’ and converted file ‘Converted - 2019-06-21T115901.857.tiff’.
‘IMG_0233.jpg’ - https://drive.google.com/open?id=1ZmTGQ ... qjp84L2wIF
‘Converted - 2019-06-21T115901.857.tiff’ - https://drive.google.com/open?id=1HvCtQ ... zXnghf0_pO
- Code Snippets ==>
Image img;
img.read(“IMG_0233.jpg”);
img->density(300x300);//illustrative
img->quality(50);
img->resolutionUnits(PixelsPerInchResolution);
img.compressType(JPEG); //illustrative
img.type(TrueColour); //illustrative
img.depth(8);
img.write(“Converted - 2019-06-21T115901.857.tiff”);
- Component(s) ==> Image Magick Source build
- Support request ==> Please find the root-cause for Image getting flipped or mirror image of original after conversion to Color TIFF file.
Ganesh.