Dear Friends, I have a PDF with an image and the image dictionary is ------------------------------------------------------------------------ ------------------ 7 0 obj << /Type /XObject /Subtype /Image /Width 108 /Height 96 /BitsPerComponent 8 /ColorSpace 11 0 R /Length 3715 /Filter /DCTDecode >> stream ÿØÿî......... Endstraem ------------------------------------------------------------------------ ------------------
I have converted this PDF into SVG using mattercast and the image tag look like the following. ------------------------------------------------------------------------ ------------------ <g transform="matrix(0.0000 -108.0025 -95.0422 0.0000 560.9800 563.2600)"> <image height="1" width="1" xlink:href="ST-016-Vertical-RightAddress_0001_000.jpg" /> </g> ------------------------------------------------------------------------ ------------------ and then I convert back to PDF (SVG to PDF) using Batik project. In the new PDF I got the following image dictionary. ------------------------------------------------------------------------ ------------------ 7 0 obj <</Type /XObject /Subtype /Image /Name /Im1 /Length 279937 /Width 324 /Height 288 /BitsPerComponent 8 /ColorSpace /DeviceRGB /Mask [255 255 255 255 255 255] >> stream ÐÙàÐÙàÐÙ.... Endstraem ------------------------------------------------------------------------ ------------------ Q1) Why Batik is introducing Mask tag when it converts the SVG into PDF? Q2) Also I noticed that the width and height are tripled, but visually looks exactly same. I have printed the PDFs and no difference in width and height. Any idea? Thanks Shan --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]