Hello,

here is the shared source:

https://1drv.ms/u/s!AiMGZ3ozCiq9gdxAJXdBtfte8iD70A?e=P5AOV5


Freundliche Grüße / Best Regards

Andreas Staiti



Von:    Tilman Hausherr <thaush...@t-online.de>
An:     users@pdfbox.apache.org
Datum:  29.05.2020 19:44
Betreff:        Re: Antwort: Re: Create pdf files with LosslessFactory



Am 29.05.2020 um 10:10 schrieb andreas.sta...@dachser.com:
> Hello,
>
> here is a sample include the source. The pdf file is really smaller 
> the the jpeg file. Why?

Please upload both files on a sharehoster for analysis. Binary 
attachments are usually blocked.

Tilman



>
>
>
>
>
>
>
>
>
> Freundliche Grüße / Best Regards
>
> Andreas Staiti
> Shared Software Services
> Corporate IT
>
> DACHSER SE
> Head Office
> Thomas-Dachser-Str. 2
> D-87439 Kempten
>
> Tel.: +49 831 5916 6211
> Fax: +49 831 5916 6052
> Email: andreas.sta...@dachser.com
> http://www.dachser.com <http://www.dachser.com/>
>
> All information on COVID-19 and its effects on our operational 
> processes in the DACHSER networks can be found on our website.
>
> Wir arbeiten ausschließlich auf Grundlage der Allgemeinen Deutschen 
> Spediteurbedingungen 2017 (ADSp 2017). Auf die in den ADSp 2017 von 
> den gesetzlichen Bestimmungen abweichenden Haftungsregelungen wird 
> ausdrücklich hingewiesen. Die ADSp 2017 sind jederzeit unter 
> http://www.dachser.de/adspabrufbar und werden auf Verlangen übersandt.
>
> We operate exclusively in accordance with the German Freight 
> Forwarders' Standard Terms and Conditions 2017 (ADSp 2017). Explicit 
> reference is made to the liability regulations set forth in the ADSp 
> 2017 deviating from the legal provisions. The ADSp 2017 are available 
> at any time at http://www.dachser.de/gtcand will be delivered by 
request.
>
> DACHSER SE
> Sitz: Kempten (Allgäu), Amtsgericht Kempten HRB 12407, USt-IdNr. 
> DE815512007. Vorstand: Bernhard Simon (Vorsitzender), Michael 
> Schilling (stellv. Vorsitzender), Burkhard Eling, Edoardo Podestà, 
> Thomas Krüger, Alfred Miller, Wolfgang Reinel, Alexander Tonn. 
> Aufsichtsratsvorsitzender: Dr. Jürgen Schneider.
>
>
>
> Von: Tilman Hausherr <thaush...@t-online.de>
> An: users@pdfbox.apache.org
> Datum: 27.05.2020 19:52
> Betreff: Re: Create pdf files with LosslessFactory
> ------------------------------------------------------------------------
>
>
>
> Hi,
>
> createFromFile is best for JPEG files. Because there the files are used
> unchanged. With createFromImage they are decompressed and recompressed
> with the Flate filter, this is a lossless compression.
>
> I am surprised that the original JPEG would be 794 kb and the PDF 766
> kb. The PDF shouldn't be smaller than the image. Please upload both
> files on a sharehoster for analysis.
>
> Tilman
>
> Am 27.05.2020 um 15:32 schrieb andreas.sta...@dachser.com:
> > 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
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@pdfbox.apache.org
> For additional commands, e-mail: users-h...@pdfbox.apache.org
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@pdfbox.apache.org
> For additional commands, e-mail: users-h...@pdfbox.apache.org




Reply via email to