Hi i am adding an jpeg image to a pdftable. before adding i scale the image using Image.scaleToFit. the image is read from a db blob, and i am making sure that the IMAGE IS NOT NULL in windows and solaris. the resizing operation runs successfully in both winodws and Linux. the pdf gets generated successfully and the image is missing and there is no exception thrown and THERE IS NO STACK TRACE. the program runs fine, generates pdf without any exception being thrown in linux. i added a logger for itext in my log4j and can see that there is no logging from iText. when i run the same code in my desktop Windows, it runs fine with image being displayed. size of image in bytes is around 20k the size of resulting pdf in Linux 4k, and size of generated pdf in wondoes is 24k. i understood from other posts and my development experience with iText, that if an image is bigger than the cell its holding, or the table, then it gets cropped. this problem in Linux only happens for some images. for some images they work fine. i cannot post the images or code.
WHAT I AM TRYING TO UNDERSTAND MOST IS IT IS WHY IT WORKS FINE IN WINDOWS, AND SAME EXACT IMAGE DOES NOT WORK IN LINUX. WHATS CAUSING THIS? ONE MORE THING IS WHY IS THE WHOLE IMAGE MISSING FROM PDF, RATHER THAN JUST PART OF IT BEING CROPPED. AND WHY THERE IS NO STACK TRACE. its very hard to understand whats happeing because there is no stacktrace or exception. i ran this for around 100 differnt images and none of them in windows have this problem, and lot of them in Unix have this problem. sorry i cannot post code, images due to confidentaility. thanks for your time and i greatly appreciate your feedback. thanks Sid -- View this message in context: http://itext-general.2136553.n4.nabble.com/Image-Missing-In-Linux-tp3515376p3515376.html Sent from the iText - General mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions iText(R) is a registered trademark of 1T3XT BVBA. Many questions posted to this list can (and will) be answered with a reference to the iText book: http://www.itextpdf.com/book/ Please check the keywords list before you ask for examples: http://itextpdf.com/themes/keywords.php
