Hello togehter, if i create a inline jpeg inside a pdf file, with LosslessFactory.createFromImage(..) the created pdf file have a size of 3293 kb. The same file created with PDImageObject.createFromFile(..) have a size of 766 kb. The resolution of the jpeg image is 2480 x 3488 pixels. The size of the image is 794 kb. The image should be inserted unchanged in the pdf file.
What is the main difference between creating images with LosslessFactory and PDImageObject.createFromFile ? What is in my case the best method? Freundliche Grüße / Best Regards Andreas Staiti