pdfbox-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Carl Buxbaum <cbuxb...@bamboorose.com>
Subject Re: Difficulty compressing images in a fop generated pdf
Date Tue, 31 Oct 2017 01:29:58 GMT

Thanks,and understood. I am trying to approximate the GhostScript pdfwrite
PDFSETTINGS /ebook etc. functionality. They claim to adjust dpi, but I
cannot figure out how to do that with pdfbox.

Carl


On 10/30/17, 4:40 PM, "Tilman Hausherr" <THausherr@t-online.de> wrote:

>Am 30.10.2017 um 21:10 schrieb Carl Buxbaum:
>>
>> Thanks Tilman,
>>
>> Is there a better approach to compressing images then?  The images in
>> these reports would already be thumbnail type jpegs or their original
>> uploaded jpegs.
>
>No I don't have a better approach... if they are jpeg then if you
>compress again with a lower quality then you'll get a lower visual
>quality, obviously.
>
>Tilman
>
>
>>
>> Thanks,
>>
>> Carl
>>
>>
>>
>>
>>
>> On 10/30/17, 3:33 PM, "Tilman Hausherr" <THausherr@t-online.de> wrote:
>>
>>> Am 30.10.2017 um 20:13 schrieb Carl Buxbaum:
>>>> Is there a way to see if the page is actually using the image, and
>>>> only processing it if it is?
>>>
>>> See in the ExtractImages source code, that one gets only images that
>>>are
>>> used.
>>>
>>>
>>> Btw you should be careful... compressing images with sharp edges as
>>>jpeg
>>> will not look good. It might even be bigger. Jpeg is best for
>>>photographs.
>>>
>>> Tilman
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@pdfbox.apache.org
>>> For additional commands, e-mail: users-help@pdfbox.apache.org
>>>
>> ________________________________
>> DISCLAIMER:
>> E-mails and attachments from Bamboo Rose, LLC are confidential.
>> If you are not the intended recipient, please notify the sender
>>immediately by replying to the e-mail, and then delete it without making
>>copies or using it in any way.
>> No representation is made that this email or any attachments are free
>>of viruses. Virus scanning is recommended and is the responsibility of
>>the recipient.
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@pdfbox.apache.org
>> For additional commands, e-mail: users-help@pdfbox.apache.org
>>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@pdfbox.apache.org
>For additional commands, e-mail: users-help@pdfbox.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: users-help@pdfbox.apache.org


Mime
View raw message