By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,887 Members | 1,170 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,887 IT Pros & Developers. It's quick & easy.

.NET PDF toolkit that can compress images in PDF files..?

P: n/a
This may be a bit of a long shot...

I've been working with the excellent new ReportView libraries in VS2005.
Until this afternoon I've been extremely happy with everything I've seen
them do. I've just run into a problem with generating PDF files that contain
charts however, as Microsoft apparently ran out of time while working on the
PDF report generator and didn't manage to get image compression working
(http://forums.microsoft.com/MSDN/Sho...PostID=165591). The result
is that my report that should be about 60KB is being generated at somewhere
a little over 7MB. Generating reports of this size isn't viable for us for
delivery over the web.

I'm quietly hopeful that this will be fixed whenever MS release a service
pack for VS2005, but in the meantime I'm hoping to find another way to work
around this in the mean time.

Does anyone know of any free software that I can use within my VB.NET
application that would be able to open the PDF file content, compress the
images, and then give me back the new (smaller) PDF file?

Failing that, can anyone point me to a good source of information as to how
the uncompressed images are stored in PDF files? Perhaps I can write some
code that would convert the images (which I assume are in TIFF format?) to a
smaller file format (such as JPG) and re-embed them in the file myself...

My thanks in advance,

--

(O)enone
Feb 9 '06 #1
Share this Question
Share on Google+
5 Replies


P: n/a
Hi,

See if this component can help you:
http://sharppdf.sourceforge.net/

--

Best regards,

Carlos J. Quintero

MZ-Tools: Productivity add-ins for Visual Studio
You can code, design and document much faster:
http://www.mztools.com
"Oenone" <oe****@nowhere.com> escribió en el mensaje
news:%2****************@TK2MSFTNGP09.phx.gbl...
This may be a bit of a long shot...

I've been working with the excellent new ReportView libraries in VS2005.
Until this afternoon I've been extremely happy with everything I've seen
them do. I've just run into a problem with generating PDF files that
contain charts however, as Microsoft apparently ran out of time while
working on the PDF report generator and didn't manage to get image
compression working
(http://forums.microsoft.com/MSDN/Sho...PostID=165591). The result
is that my report that should be about 60KB is being generated at
somewhere a little over 7MB. Generating reports of this size isn't viable
for us for delivery over the web.

I'm quietly hopeful that this will be fixed whenever MS release a service
pack for VS2005, but in the meantime I'm hoping to find another way to
work around this in the mean time.

Does anyone know of any free software that I can use within my VB.NET
application that would be able to open the PDF file content, compress the
images, and then give me back the new (smaller) PDF file?

Failing that, can anyone point me to a good source of information as to
how the uncompressed images are stored in PDF files? Perhaps I can write
some code that would convert the images (which I assume are in TIFF
format?) to a smaller file format (such as JPG) and re-embed them in the
file myself...

My thanks in advance,

--

(O)enone

Feb 9 '06 #2

P: n/a
Carlos J. Quintero [VB MVP] wrote:
See if this component can help you:
http://sharppdf.sourceforge.net/


Hi Carlos,

Thanks for the tip -- that looks like a nice project, but it doesn't seem to
have the capability of reading existing PDF files, only creating new ones.

Not to worry though, I think I may have found a complex but workable
solution to my original problem, so with a bit of luck I won't need any
external code after all...

--

(O)enone
Feb 9 '06 #3

P: n/a

"Oenone" <oe****@nowhere.com> wrote in message
news:cO*****************@newsfe3-gui.ntli.net...
Hi Carlos,

Thanks for the tip -- that looks like a nice project, but it doesn't seem
to have the capability of reading existing PDF files, only creating new
ones.

Not to worry though, I think I may have found a complex but workable
solution to my original problem, so with a bit of luck I won't need any
external code after all...


ABBYY can open and compress existing PDFs. For new PDFs, try printing to
PrimoPDF.

Feb 9 '06 #4

P: n/a
Hi,

Maybe this will work for you.
http://www.codeproject.com/showcase/TallComponents.asp

Ken
----------------
"Oenone" <oe****@nowhere.com> wrote in message
news:cO*****************@newsfe3-gui.ntli.net...
Carlos J. Quintero [VB MVP] wrote:
See if this component can help you:
http://sharppdf.sourceforge.net/


Hi Carlos,

Thanks for the tip -- that looks like a nice project, but it doesn't seem
to have the capability of reading existing PDF files, only creating new
ones.

Not to worry though, I think I may have found a complex but workable
solution to my original problem, so with a bit of luck I won't need any
external code after all...

--

(O)enone

Feb 10 '06 #5

P: n/a
I don't have a direct answer for you on compression, but there is a free
guide on how to select a pdf control for .Net. It includes viewers/creators
and manipulators. Check it out at http://www.howtoselectguides.com/dotnet/pdf/.

Jim Wooley
Feb 10 '06 #6

This discussion thread is closed

Replies have been disabled for this discussion.