Large PDF file size in Webdynpro JAVA

Hi All
I have imported a PDF in Webdynpro JAVA using InteractiveForm UI element. During application execution the size of the PDF seems drastically increased and the application performance is very poor.
If I make the PDF form as readonly then the size seems normal.
Any suggestions on the size increase issue with interactive PDF forms in Webdynpro JAVA.
EP 7.01 SP5
ADSSAP 7.01 SP5 (1000.7.01.5.0.20090825153742)
Thanks in advance
Geogi Luke

When I make enabled property to false in the UI element, then the size is less than 300KB
This is ok, it works this way.
I think some additions are happening at runtime to the PDF and the size is increasing.
Open the file in WD and save it immediately. Work with the form and save it again. Compare.
I am using lifecycle designer 7.1 for developments.
If you can, upgrade to 8.1, you´re efficiency will improve significantly. And of course.. your user experience will change;))
Note 1176858 - Adobe LiveCycle Designer 8.1 Installation
Regards Otto

Similar Messages

  • Large PDF file sizes when exporting from InDesign

    Hi,
    I was wondering if anyone knew why some PDF file sizes are so large when exporting from ID.
    I create black and white user manuals with ID CS3. We post these online, so I try to get the file size down as much as possible.
    There is only one .psd image in each manual. The content does not have any photographs, just Illustrator .eps diagrams and line drawings. I am trying to figure out why some PDF file sizes are so large.
    Also, why the file sizes are so different.
    For example, I have one ID document that is 3MB.
    Exporting it at the smallest file size, the PDF file comes out at 2MB.
    Then I have another ID document that is 10MB.
    Exporting to PDF is 2MB (the same size as the smaller ID document)... this one has many more .eps's in it and a lot more pages.
    Then I have another one that the ID size is 8MB and the PDF is 6MBwhy is this one so much larger than the 10MB ID document?
    Any ideas on why this is happening and/or how I can reduce the file size.
    I've tried adjusting the export compression and other settings but that didn't work.
    I also tried to reduce them after the fact in Acrobat to see what would happen, but it doesn't reduce it all that much.
    Thanks for any help,
    Cathy

    > Though, the sizes of the .eps's are only about 100K to 200K in size and they are linked, not embedded.
    But they're embedded in the PDF.
    > It's just strange though because our marketing department as an 80 page full color catalog that, when exported it is only 5MB. Their ID document uses many very large .tif files. So, I am leaning toward it being an .eps/.ai issue??
    Issue implies there's something wrong, but I think this is just the way
    it's supposed to work.
    Line drawings, while usually fairly compact, cannot be lossy compressed.
    The marketing department, though, may compress their very large TIFF
    files as much as they like (with a corresponding loss of quality). It's
    entirely possible to compress bitmaps to a smaller size than the
    drawings those bitmaps were made from. You could test this yourself.
    Just open a few of your EPS drawings in Photoshop, save as TIFF, place
    in ID, and try various downsampling schemes. If you downsample enough,
    you'll get the size of the PDF below a PDF that uses the same graphics
    as line drawing EPS files. But you may have to downsample them beyond
    recognition...
    Kenneth Benson
    Pegasus Type, Inc.
    www.pegtype.com

  • PDF file size too large

    Hi,
    I have a report (6i and 9Ids) which contains an image (stored as a blob in the database (8i)). The size of the image in the database (and as a file) is just 750k. The image is sized to fit on to the A4 report page. If I set the desformat of this report to PDF the resulting PDF output file is 10mb in size. I need to make this report available over the web so this is too large. Has anyone got any ideas as to reducing the output file size?
    I have tried the pdfcomp report parameter with no joy.
    Cheers
    Andy

    Hi Andy,
    The image you are using might be a JPEG image. In 6i and 9i, while generating the PDF file, Oracle Reports always converts the image to GIF and embed it. This image type conversion increases the file size of the outputimage and hence PDF file size increases. This is fixed in Oracle Reports 10g.
    In Oracle Reports 10g, you can select the outputimageformat based on your need, using either:
    1. commandline: OUTPUTIMAGEFORMAT
    (or)
    2. environment variable: REPORTS_OUTPUTIMAGEFORMAT
    If your image in the database is a JPEG image, set the outputimageformat to JPEG. Hence, there will not be any image type conversion and the PDF file will be very small.
    Please refer to the Publishing Reports manual to know more about the usage of these commandline/environment variable.
    Links:
    http://download-west.oracle.com/docs/cd/B10464_01/bi.904/b10314/pbr_cla.htm#644163
    http://download-west.oracle.com/docs/cd/B10464_01/bi.904/b10314/pbr_rfap.htm#644448
    Thanks,
    Regards,
    Siva B

  • A pdf file failed to convert to word, presumably because of size.  how do i split a large pdf file into manageable secrtions?

    I'm running Abode Reader XI version 11.0.7.  Repeated attempts to convert a large (439 page) file, a dissertation, failed.  How do I split a large pdf file like this into manageable sections for conversion?

    Hi Mike,
    Your 11MB file is well within the file-size limits for ExportPDF, but depending on the number of pages, complexity of the file (and yours doesn't sound complex), and your connection speed, it is possible that the service is simply timing out before it can finish processing. These steps can help:
    If the file already contains editable text (that is, it isn't a scanned document), try disabling OCR as outlined in this this document: How to disable Optical Character Recognition (OCR) when converting PDF to Word or Excel.
    Clear the browser cache and try again.
    Try a different browser.
    Let's start there. If you still can't export the file to Word, let me know and we'll take it from there.
    Best,
    Sara

  • How to Save a file uploaded in WebDynpro Java to Windows server

    Hi Guys,
    I need to save a file uploaded in WebDynpro Java to a location on one of my companys many internal Window servers but I cannot get it to work.  I do not get any errors with the following code, but NOTHING happens...  And when I check the folder it is still emply...  Please advise.  I am particularly not sure about specifying the Path syntax.  Also, I do have permission to write to this server.  Is it even possible to save to a Windows server from WebDynpro??
    //uploaded document already in context...
    byte[] file = element.getFileResource();
                //    get the size of the uploaded file  
                element.setFileSize(this.getFileSize(file));
                wdContext.currentContextElement().setFSize(this.getFSize(file)); 
                //    get the extension of the uploaded file       
                element.setFileExtension(binaryType.getMimeType().getFileExtension());
                String fName = wdContext.currentContextElement().getFName();
                String fExt = wdContext.currentContextElement().getFileExtension();
                String foName1 = "
    server01.w9\Files\P
    HRP_Attachments\" + fName + ".pdf";
                File f1 = new File(foName1);
                DataOutputStream dos1;
                dos1 = new DataOutputStream(new FileOutputStream(f1));
                dos1.write(file);
                dos1.flush();
                dos1.close();
    Edited by: christiaanp on Sep 30, 2011 8:07 AM

    Hi Christiaan,
    When specifying the path, make sure you escape the slashes
    So, when you would normally use something like
    \\server\path\file.txt
    in your code you must use it in the form:
    String fileName = "\\\\server\\path\\file.txt";
    Hope this helps!
    Robin van het Hof

  • PDF File Size - any way to compress further?

    We have are using the Crystal for .NET export method to export a report to a .pdf file, and are having an issue with the pdf file size on a report that contains images.  The images are stored in a SQL2005 database as blob or varbinary(max).  The report executes a stored procedure that selects data (including images) to produce a quotation.  There are input parms to decide which images to print (for example A, B or both A&B). Both types of images can appear at the line level on the quotation. Type A images print in the main report, Type B images are in a subreport.  Both the main report & subreport execute a stored procedure to select an image type.
    Our issue, when both Type A and B image is selected to print on a 293 line quote.  The PDF file size is 44.23MB
    When Type A only is selected, the PDF file size is 2.64MB
    When Type B only is selected, the PFD file size is 43.95MB.
    There are more Type B images that would print at the line level than Type A, but is there any way to compress this down further as it is too large to email.

    You mention that you are using Crystal for .NET, but not what version; CR for .NET 2003, 2005, 2008. 2010?
    Applying the latest fixes for the correct version of CR would be the first thing to do.
    Next, I'd have a close look at image B as it appears to be the one adding the most "bulk". How is this image different from image A?
    General tips re. images:
    Save the files a BMPs.
    When .jpg image is inserted into Crystal Reports it is converted into bitmap format and as the result of the conversion the report may loose some quality, scale and other issues may arise... E.g.; Crystal Reports is not so good a graphics management tool
    When an image is saved as a .bmp, then there is no conversion required and thus the quality of the image should be preserved.
    Best practice: save the image with high resolution and required size as a .bmp format then insert this image into Crystal Reports.
    Resize the image to the smallest possible size and downgrade the DPI to 72. This will ensure your image is as small as possible and Crystal Reports will have to put in the least amount of work to display it.
    Have a look ar KB [1241630 - Exporting a Crystal report (XI) to PDF generates a big PDF file|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_bi/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333233343331333633333330%7D.do]. This KB, may apply to your version of CR, or not. In any case, you will have to use the KB as a guide and determine what the appropriate registry entry would be for your version of CR.
    One more thing. Many people like to use jpg files as they are smaller than bmp files. However, as far as Crystal Reports is concerned, this is inconsequential. The report file will be the same size if a file is inserted as a jpg or a bmp. This is due to the jpg conversion to bmp Crystal Reports does internally.
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup
    Got Enhancement ideas? Try the [SAP Idea Place|https://ideas.sap.com/community/products_and_solutions/crystalreports]

  • Maximum PDF file size for browsers to cache?

    My site distributes daily newsletters via PDF that are typically about 2MB in size. A link is provided to the PDF, and when clicked, it opens the Adobe Reader plugin within the browser (Firefox, IE) and opens the file therein.
    Recently it was brought to my attention by a dialup user (they do still exist) that when he navigates back or forward in his browser's history, the PDF has to be redownloaded rather than reloaded from his browser's cache. I, with a broadband connection and some wonderful Firefox extensions (Firefox Throttle and Live HTTP Headers) confirmed this behavior.
    However, a similarly sized file (2MB) of a different type (text) is cached by the browser and I can go back and forth in the history without the file having to be redownloaded. I also had success with a smaller sized PDF (70kb).
    What appears to happen is this:
    1) Click the link to the 2MB PDF, and it loads in the browser.
    2) Click browser's back button to back to previous page in browser history.
    3) Click forward button to return to PDF.
    4) A request with a "Range: <byte range>" header is sent which I think requests part of the PDF file (the byte ranges).
    5) The server responds with a "206 Partial Content" response code and resends some/most/all of the PDF to the browser.
    What should happen (and does with other file types and smaller sized PDFs) is that the browser should make a simple request for the PDF file, and assuming the PDF hasn't been modified since the latest request for it, the server should send a "304 Not Modified" response code which instructs the browser to use what it has in cache.
    I've increased my browser cache sizes dramatically to no avail. Cleared them before starting the process to no avail. Should be no problem with any browser's cache limit.
    I'm using Firefox 2 and IE7. My co-worker has IE6 and Acrobat Reader 6 installed on another machine and it works fine there (PDF is cached and does not need to be redownloaded).
    Help! Why aren't these larger PDF files being cached correctly, and what can we do to get them saved in the cache so our poor dialup users don't have to redownload them everytime they navigate their browser history?
    Thanks!

    Just wanted to reply with my discovery and fix. I'm not sure if it is Adobe Reader or the web browsers (I tested Firefox 2 and IE7), but they appear to request parts of large PDF files "on demand." That is, they send requests to the web server with a "Range: <byte range(s)>" header which instructs the web server to only send segments of the file. I think they use the feature of HTTP 1.1 that keeps the connection open or alive to request/send the data incrementally.<br /><br />While this might seem preferrable, in the case of dialup users that navigate through their browser(s) history, they should instead download the PDF in its entirety and allow the browser to cache the file. This way, when they click the link to open the PDF again (or go back/forward in their browser's history), they use what they have in their cache instead of redownloading the PDF (which in the case of dialup users is quite painful).<br /><br />We fixed the problem by instructing our web server to ignore/disregard byte range requests. In a nutshell, you need to have the web server issue a header:<br /><br />Accept-Ranges: none<br /><br />In Apache, you can do this on a per-file-type basis using a FilesMatch directive. In IIS (we're using 5.0), you cannot specify a file type for this behavior; you have to set it in Internet Services Manager by adding a custom header under the "HTTP Headers" tab.<br /><br />Personally, I prefer folks use their browser cache than repeatedly request data (PDF file in this case) from our server. To each his own I guess. Hope this helps someone.

  • PDF file size

    I have an HP Officejet 6500 E710n-z (Network) that I use at home to scan into PDFs, and I know exactly how to move the slider from "Smallest size" to "Best quality" 
    However the size of the PDFs are unacceptably large when image quality is acceptable, and if I move the slider to reduce the size then the image becomes unacceptable.  It is impossible to scan a legal document of more than a few legible pages without producing a file size too large to email .  I am forced to break these scanned documents into 3-4 page bite-sized chunks.
    A simple one page HOA Disclosure form, at 220 DPI and the slider in the middle for balance, produces a 699K PDF.  I have used other printer scanners at work (different brands) at the same 200 DPI that results in very clear documents at less than 100K per page. 
    I believe there is something wrong with HP's scan-to-PDF algorithm.  The problem must be due to some unskilled (or flawed) software design.  What will it take to have HP or third party developer (and developer staff supervision) take this seriously -- compare HP vs other brand scanners PDF files -- and update the HP drivers to fix this?
    This question was solved.
    View Solution.

    Just a follow up.  I went into chat mode with some low-level tech named Nathan, giving him the link to this thread.  After reading it, he suggested I can improve file size by using greyscale and 200 DPI.  DUH!!!!  I complained he was just humoring me, so he said I should call the tech support number.
    I did that next and spoke with a very nice young lady who actually DID take me seriously.  I could hear her typing away vigorously in the background, capturing every detail of my plea for this to be forwarded up the chain of command for serious consideration.  It was clear she understood and captured from me that there are many forum complaints that can be found with a search term "PDF File Size" that are getting weak or unacceptable "solutions" to push the slider left or use lower DPI etc.  She also captured my assurances that some competitor brands produce PDF file sizes 20 times smaller for the same image quality.
    I believe that this might actually be opened up at a higher level for consideration of an improvement in the compression algorithm.  My fingers are crossed.  Since I have about 11 months left for warranty support, I plan to contact them once or twice again before it expires, using the same case number to see if there is any progress.
    Bottom line:  At my default of 200 DPI and 20% image quality, with an average file size for a single sample page producing a file size of 281KB, a 25-page document creates a PDF file that is 7MB!  That will just barely make it past the file size limit for my email provider, but might be too large for the recipient.  That is still unacceptable, and is forcing me to consider products other than HP for this business purpose.

  • Question about reducing PDF file size on export

    I have a large file that is generates a PDF about 75MB when exported with the "[High Quality Print]" preset. However, I can reduce the size down to to under 5MG in Acrobat if I use the Tools>Flattener Preview>[Medium Resolution] setting (image attached). Is there a way to generate this smaller file directly from InDesign? I couldn't figure out how to do this with InDesign's Flattener Preview or Export options, but it is very likely that I missed something.

    Eugene Tyson wrote:
    When you choose Smallest File size, it is still using the PDF 1.6 setting.
    Change this to Acrobat 4 (PDF 1.3) this will automagically flatten the PDF - which means you shouldn't have to do it in Acrobat.
    That should get you a nice small file size, I believe.
    Flattening transparency in InDesign will not necessarily yield a smaller PDF file size. Transparency flattening will not automatically convert placed vector artwork to raster images unless that vector artwork is actually involved with transparency. And even then, whether you end up with a smaller file depends on a number of factors.
    If the reason for the very large file size is indeed very complex vector artwork and you are willing to sacrifice quality, conversion of such vector artwork to raster might yield a significantly smaller exported PDF file. To accomplish that conversion, I would personally suggest converting the most offensive (in terms of file size and complexity) of such files in Illustrator (assuming that they were .AI files) and exporting them as .TIF files (to avoid the potential imaging artifacts of JPEG compression).
              - Dov

  • Reducing PDF File Size Using Preview

    Hi All,
    Trying to reduce the size of a large pdf file. "Quartz Filter" pick in Preview (Snow Leopard) is no longer available in Lion.
    Tried making new filter in ColorSync Utility and applying, but file size is still not reducing, in fact it increases. Any advise out there?
    Thanks.

    It is available, it's just that versioning is reaking havoc with folks 'cause you have to change your workflow:

  • PS Elements 8 - "Save As" PDF File Sizes Huge

    In Photoshop Elements 8.0, Photoshop PDF file sizes are huge when using the "save as" function, using JPEG compression.
    No matter which "Image Quality" is used, the resultant PDF is huge. At "high" quality the file is 20 MB. At "medium" quality, the file is 15 MB. At "low" quality, the file is also 15 MB, much too large. This was not a problem in older versions of Elements. File sizes were typically just more than 3 MB.
    If I save the image as JPEG files using "maximum" (10) quality, "medium" (5) quality, and "low" (3) quality, I can insert the image(s) into Word and use the Acrobat Pro PDF printer driver to get PDF file sizes of 1.8 MB, 1.3 MB, and 1.1 MB. These PDF files are perfect. Even the lowest quality is perfectly readable for my purposes. The older versions of Elements worked fine so I didn't need to take the step of saving in JPEG format, importing to Word and then printing.
    Does anyone know if Photoshop Elements Version 8 is capable of saving PDF files in the smaller file sizes?  Is there a plug-in I can purchase that would give better results?
    Photoshop Elements Version 8.0 (20090905.r.605812) with all updates applied.
    OS = Windows 7 Enterprise (6.1, Build 7600).
    Thank you for any help or adevice.

    I'm dealing with the same situation.
    With Photoshop Elements I use to scan a picture at 300 dpi, save as PDF file, jpg compression medium low
    quality and alway got files under 5 Mb, even lower than that. Colour or black and white pictures.
    Now with Photoshop Elements 8.0 did the usual procedure but the pdf are huge, larger than 8 Mb, even more
    than 10 Mb !
    Am I missing any detail in settings program, perhaps ?
    Thanks for any suggestions.

  • Can't download large pdf file

    I'm trying to download a large pdf file (26.2 mb) to my iPad.  It appears to download, then appears, as 440 blank pages.  It offers to open the file in iBook, but that also doesn't have any results.  Is there a limit on the size of the pdf file it can handle?  I tried to e-mail it from my computer, but the file is too big for my e-mail program.  This is a book I would really love to read on the iPad--how can I get it there?  thanks, B.

    Yes, I see that as well. Talk about a bad assumption. I thought from what I had read that the feature worked like Spotlight on the Mac. In fact I could swear I've read that on Apple's site somewhere. Not the first time I was wrong and certainly not the last. Alas I stand corrected again.
    Frankly, after investigating the search function further - IMHO - it seems pretty useless.  A number of the apps that I use have their own search functions built in. I've read that you can search for a missing app on your iPad with this feature, but other than that and finding contacts and emails it seems pretty pointless to me.

  • PDF file size in relation to number of pages of the exact same document

    PDF file size of a document for one page is 28kb. PDF file size of a the same document for two pages (1st page and 2nd page are exact same document), also 28kb. Shouldn't it be 56kb??

    First of all, you can't use Adobe Reader to add, delete or duplicate pages in a PDF file (unless you use a template object), so you're either using Adobe Acrobat, or some other application entirely.
    The size of PDF files is not linear, ie if you have 1-page file and it's 1 MB, then duplicating it will results in a 2-page file of 2 MB, or a 10-page file of 10 MB. Many items in a PDF document only need to be saved once (such as font information, image information in some cases, etc.), so the change in size when adding additional pages is sometimes very small. At other times it can be very big, though. You can have a 100-page file that is 1 MB and then add a single page to it, with a new font perhaps, and the size will jump to 5 MB, just because that font is very large...

  • InDesign Transparency Effect vs. pdf file size

    I have an Interactive pdf that was created from InDesign. There is  "inner glow" is an effect style created box style. This box style is used a number of times in the 30  page document. The glow is a gradient from black to transparent which looks  like an inner shadow for the boxes (sample attached). When I generate the pdf file, size is about 12 Mgb, too large for the target audience.
    When I alter the style in InDesign to say something simple like a 10%  black solid fill, the pdf file size decreases to about 1 Mgb.
    Looked into "flattening transparency" options but this creates pdf that has none of the interactive buttons and links that are required.
    Really would like to avoid creating these boxes in photoshop since there are about 40 different sizes of the box.
    Any ideas would be greatly appreciated!

    For some reason I can't find reply on Forums site, so replying to this 
    email
    Exporting an Interactive pdf using the attached (15.8) jpegs settings 
    creates a file that is 15.8 Mgb.
    Exporting an Interactive pdf using the attached (14.5) jpegs settings 
    creates a file that is 15.8 Mgb.
    Any ideas??? Thanks.

  • How can I send a large pdf file (42MB) attachments by icloud ??

    How can I send a large pdf file (42MB) attachment by email in Icloud ???

    That's a bit excessive.  The website http://convert.neevia.com/pdfcompress/ can compress files up to 5 MB in size. You may want to print to PDF single smaller pages, or print the document and scan it one page at a time to PDF, and then use the PDF compress tools to shrink it further.

Maybe you are looking for

  • Non-cumulative value Parameters EFFECT

    Hi, I am customizing the 0IC_C03 inventory cube to get to the reports we need. But the query performance is extremly slow. We do not have BI Acceleratior, but aggregates are build for my query. So I duplicated the cube and removed 0MATERIAL from the

  • New Laptop / iPod.

    I recently purchased a copy of Windows 7 and have loaded it onto my old Dell Laptop. I oriogonally had a 32GB iPod touch, but it was stolen and now have a new 64GB Model. My question is, I had hundreds of Apps / songs that I had purchased from the iT

  • BANK CHARGES MISSING IN OUTGOING PAYMENT

    With reference to SAP Messages 1308391 and 136960, our Client has request to have Bank charges in Outgoing Payment too. Kedalene Chong

  • Trouble Printing with Epson RX700

    Loaded 10.6 and new Epson drivers. Rx700 has front and back paper trays. Word and Excel printed to the front try, but Safari would only print to back try, regardless of setting. 10.6.1 allowed me to print to front tray, but it seems like the system d

  • Ejb and jsproc deployment problems

    Am trying to deploy the java stored procedure (jsp) example (jsproc subdirectory in acmevideo directory) and the enterprise java bean (ejb) example (ejb subdirectory in acmevideo directory). Both use the business and util subdirectries of acmevideo d