Do you own a Debenu Quick PDF Library version 7, 8, 9, 10, 11, 12, 13 or iSEDQuickPDF license? Upgrade to Debenu Quick PDF Library 14 today!

Debenu Quick PDF Library - PDF SDK Community Forum Homepage
Forum Home Forum Home > For Users of the Library > General Discussion
  New Posts New Posts RSS Feed - Compress existing images in PDF file
  FAQ FAQ  Forum Search   Register Register  Login Login

Compress existing images in PDF file

 Post Reply Post Reply
Author
Message
ross_t View Drop Down
Beginner
Beginner
Avatar

Joined: 21 Dec 14
Location: Earth
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote ross_t Quote  Post ReplyReply Direct Link To This Post Topic: Compress existing images in PDF file
    Posted: 02 Mar 18 at 6:05PM
Hi,

I wish to apply compression to the existing images in PDF file. Is it possible for me to set the Image Quality and Resolution for the existing images in a given PDF file and then save the resulting PDF as a new file without assembling the entire PDF file manually?

Waiting for your reply...

Cheers,

Ross.
Back to Top
Ingo View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 29 Oct 05
Status: Offline
Points: 3524
Post Options Post Options   Thanks (1) Thanks(1)   Quote Ingo Quote  Post ReplyReply Direct Link To This Post Posted: 02 Mar 18 at 7:27PM
Hi Ross,

for already existing images there's no one-click-function in QuickPDF.
You can do similar things with extracting images from pdf-documents:
This... http://www.quickpdf.org/forum/topic376&KW=swb1.html
or that... http://www.debenu.com/kb/extract-images-from-pdf-files-as-the-appropriate-image-type/
Work on them with a third party tool...
and replace the existing images with the new smaller ones:
http://www.debenu.com/docs/pdf_library_reference/ReplaceImage.php

You'll find more here:
http://www.debenu.com/docs/pdf_library_reference/Search.php


Cheers,
Ingo

Back to Top
mLipok View Drop Down
Senior Member
Senior Member
Avatar

Joined: 23 Apr 14
Location: Poland, Zabrze
Status: Offline
Points: 453
Post Options Post Options   Thanks (1) Thanks(1)   Quote mLipok Quote  Post ReplyReply Direct Link To This Post Posted: 03 Mar 18 at 1:01PM
Ingo what about :
http://www.debenu.com/docs/pdf_library_reference/CompressImages.php

?

Here you can find description how to test my examples:
http://www.quickpdf.org/forum/forum_posts.asp?TID=2932&PID=12600&title=drawcapturedpagematrix-matrix-howto#12600
Back to Top
Ingo View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 29 Oct 05
Status: Offline
Points: 3524
Post Options Post Options   Thanks (1) Thanks(1)   Quote Ingo Quote  Post ReplyReply Direct Link To This Post Posted: 03 Mar 18 at 2:58PM
Hi :)

i think "... added to the document..." (from the reference) means "added in this moment"
and not "being already inside".
 


Edited by Ingo - 03 Mar 18 at 2:58PM
Cheers,
Ingo

Back to Top
ross_t View Drop Down
Beginner
Beginner
Avatar

Joined: 21 Dec 14
Location: Earth
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote ross_t Quote  Post ReplyReply Direct Link To This Post Posted: 03 Mar 18 at 6:18PM
Thanks so much guys for your help. I will try out the "extract image, compress and replace" algorithm. I'm sure it will work good.
Back to Top
mLipok View Drop Down
Senior Member
Senior Member
Avatar

Joined: 23 Apr 14
Location: Poland, Zabrze
Status: Offline
Points: 453
Post Options Post Options   Thanks (0) Thanks(0)   Quote mLipok Quote  Post ReplyReply Direct Link To This Post Posted: 04 Mar 18 at 10:02PM
Originally posted by Ingo Ingo wrote:

Hi :)

i think "... added to the document..." (from the reference) means "added in this moment"
and not "being already inside".
 
Oh I see.

Maybe we can combine:

http://www.debenu.com/kb/extract-images-from-pdf-files-as-the-appropriate-image-type/
http://www.debenu.com/docs/pdf_library_reference/ReplaceImage.php
http://www.debenu.com/docs/pdf_library_reference/CompressImages.php

I mean extract, + replace with the same data but + CompressImages

I hope CompressImages toogether with ReplaceImage should made the trick..... but I never tested this before.



Edited by mLipok - 04 Mar 18 at 10:03PM
Here you can find description how to test my examples:
http://www.quickpdf.org/forum/forum_posts.asp?TID=2932&PID=12600&title=drawcapturedpagematrix-matrix-howto#12600
Back to Top
mLipok View Drop Down
Senior Member
Senior Member
Avatar

Joined: 23 Apr 14
Location: Poland, Zabrze
Status: Offline
Points: 453
Post Options Post Options   Thanks (0) Thanks(0)   Quote mLipok Quote  Post ReplyReply Direct Link To This Post Posted: 04 Mar 18 at 10:05PM
I also staying in hope that we can use:
OriginalImageIDint32 = NewImageIDint32
In such case we should be able to do this without any file/disc operation.

Here you can find description how to test my examples:
http://www.quickpdf.org/forum/forum_posts.asp?TID=2932&PID=12600&title=drawcapturedpagematrix-matrix-howto#12600
Back to Top
mLipok View Drop Down
Senior Member
Senior Member
Avatar

Joined: 23 Apr 14
Location: Poland, Zabrze
Status: Offline
Points: 453
Post Options Post Options   Thanks (0) Thanks(0)   Quote mLipok Quote  Post ReplyReply Direct Link To This Post Posted: 04 Mar 18 at 11:02PM
more discussion here:
http://www.quickpdf.org/forum/reduce-pdf-file-size_topic2846.html
http://www.quickpdf.org/forum/exported-images-original-file-size_topic2151.html
http://www.quickpdf.org/forum/to-reduce-the-pdf-file-size_topic1404.html
http://www.quickpdf.org/forum/reducing-pdf-file-size_topic792.html
http://www.planetpdf.com/enterprise/article.asp?ContentID=reducing_pdf_file_size_
http://www.debenu.com/kb/can-i-compress-my-pdf/
http://www.quickpdflibrary.com/faq/reduce-file-size.php
http://www.quickpdflibrary.com/faq/compressing-pdf-files.php
http://www.quickpdflibrary.com/faq/resampling-a-pdf-to-reduce-file-size.php

Here you can find description how to test my examples:
http://www.quickpdf.org/forum/forum_posts.asp?TID=2932&PID=12600&title=drawcapturedpagematrix-matrix-howto#12600
Back to Top
mLipok View Drop Down
Senior Member
Senior Member
Avatar

Joined: 23 Apr 14
Location: Poland, Zabrze
Status: Offline
Points: 453
Post Options Post Options   Thanks (0) Thanks(0)   Quote mLipok Quote  Post ReplyReply Direct Link To This Post Posted: 02 May 18 at 2:16PM
Any body know if QuickPDF is able to compress PDF Files with MRC ?
https://en.wikipedia.org/wiki/Mixed_raster_content


Here you can find description how to test my examples:
http://www.quickpdf.org/forum/forum_posts.asp?TID=2932&PID=12600&title=drawcapturedpagematrix-matrix-howto#12600
Back to Top
Ingo View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 29 Oct 05
Status: Offline
Points: 3524
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ingo Quote  Post ReplyReply Direct Link To This Post Posted: 03 May 18 at 10:28AM
QP aren't able to use MRC.
Relevant images for mrc-compression need a special internal data structure.
These special internal data structure isn't taken into account regarding the image handling in the QP-functionalities.

Cheers,
Ingo

Back to Top
mLipok View Drop Down
Senior Member
Senior Member
Avatar

Joined: 23 Apr 14
Location: Poland, Zabrze
Status: Offline
Points: 453
Post Options Post Options   Thanks (0) Thanks(0)   Quote mLipok Quote  Post ReplyReply Direct Link To This Post Posted: 04 May 18 at 7:57AM
what a pity ... Ermm
Here you can find description how to test my examples:
http://www.quickpdf.org/forum/forum_posts.asp?TID=2932&PID=12600&title=drawcapturedpagematrix-matrix-howto#12600
Back to Top
mLipok View Drop Down
Senior Member
Senior Member
Avatar

Joined: 23 Apr 14
Location: Poland, Zabrze
Status: Offline
Points: 453
Post Options Post Options   Thanks (0) Thanks(0)   Quote mLipok Quote  Post ReplyReply Direct Link To This Post Posted: 04 May 18 at 8:04AM
Here too... I just posted Feature Request
Here you can find description how to test my examples:
http://www.quickpdf.org/forum/forum_posts.asp?TID=2932&PID=12600&title=drawcapturedpagematrix-matrix-howto#12600
Back to Top
noramila View Drop Down
Beginner
Beginner
Avatar

Joined: 29 Aug 23
Location: India
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote noramila Quote  Post ReplyReply Direct Link To This Post Posted: 08 Nov 24 at 11:12AM

To compress images in a PDF, extract and compress the images, then replace them in the PDF. You can use tools like Debenu PDF library or QuickPDF. And For different image format such as JPEG, PNG, WEBP, etc you can also try online image compressor tool.



Edited by noramila - 09 Nov 24 at 9:06AM
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 11.01
Copyright ©2001-2014 Web Wiz Ltd.

Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. AboutContactBlogSupportOnline Store