|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
.NET PDF toolkit that can compress images in PDF files..?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/ShowPost.aspx?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 Hi,
See if this component can help you: http://sharppdf.sourceforge.net/ -- Show quoteHide quoteBest 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" <oen***@nowhere.com> escribió en el mensaje news:%23lWs$PZLGHA.2216@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/ShowPost.aspx?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 > Carlos J. Quintero [VB MVP] wrote:
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 "Oenone" <oen***@nowhere.com> wrote in message ABBYY can open and compress existing PDFs. For new PDFs, try printing to news:cOMGf.12283$Dn4.544@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... PrimoPDF. Hi,
Maybe this will work for you. http://www.codeproject.com/showcase/TallComponents.asp Ken ---------------- Show quoteHide quote "Oenone" <oen***@nowhere.com> wrote in message news:cOMGf.12283$Dn4.544@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 > 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
Changing a richtextbox's colour!
Conversion question Q: Message Box graphics Vanishing Declarations Creating a Custom Data Source that implements IList or IListSource sort treeview what is the meaning of this error message? Testing VB.net application -reg VS2005 Standard vs. VS2003.Net Academic Windows Explorer Integration |
|||||||||||||||||||||||