473,320 Members | 1,802 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

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

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
5 2526
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
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

"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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Martin Bless | last post by:
The good news: Along with Python-2.4 comes really good news to Windows users. Yes, you now CAN build extension modules yourself using the SAME C++ compiler and linker Python is built with...
11
by: Shiperton Henethe | last post by:
Dreamweaver 4 Hi Can anyone recommend a decent utility for compressing HTML that is safe - i.e. that *definitely* doesn't mess with the appearance in any browsers. I run a growing website...
2
by: Jean-Marc Blaise | last post by:
Hi, I get a SQL2009C when using the 'compress' option for backup, but the util_heap_sz does not blow if I do not use the 'compress' option. What is the overhead induced by the compress option in...
5
by: Jigar Mehta | last post by:
Hye Friends!!, Happy New Year!! I am Jigar Mehta from India. Currently I am working on a project in which I need to compress some images on the harddisk... I want to make an engine that reads...
2
by: noleander | last post by:
I'm trying to get Vis C++ std to compile using /O2 optimizing flag. Many people have suggested downloading the MS C++ 2003 Toolkit ... it supposedly has C++ compiler bins that one could use. I...
3
by: dust | last post by:
I need to improve the download speed for an asp.net 2.0 application. So I'd like to compress the dimension of the .aspx pages. These pages don't have any images or heavy element. The most long...
6
by: Champika Nirosh | last post by:
Hi, I have two machine where I needed to have a extended TCP/IP protocol to make the link between the two machines Mean,I need to write a application that compress every data the machine send...
5
by: zgh1970 | last post by:
Hi, Friends, default DB2 compression library. I am wondering if this option will have any new restriction on RESTORE in the following. (Can I used that backup imsage for restore at the...
2
by: nicky77 | last post by:
Hi there, I'm brand new to ASP (from PHP background) and i am developing some content management for a web site. I'm having a problem with the fact that I want to allow image files to be uploaded...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.