PDF Size is huge when inserting an image on every page

Hello,
I've got a little problem when inserting an image in a crystal report and then exporting it to PDF.
We're using Crystal Report XI and we've designed the report with a sub-report that gets an image from a database field and put this image on every page of the report (it's just a logo for every page).
This image is a JPEG file with 32KB size.
The exported report is about 1000 pages and we're dealing with an issue because of that. Sometimes the report won't generate giving a OutOfMemory Exception (altough we've defined MinHeap/MaxHeap to 512M).
We also find this curious :
- A generated pdf report with the image on every page totals 100MB size (we would expect something like 32KB*100pages=32000KB/1024KB=31.25MB ?) : Depending on the number of pages, could give OutOfMemoryError.
- A generated pdf report without the image on every page totals 1.8MB size. : No OutOfMemoryError problem here.
Do you know of any way to optimize this, reducing the pdf size and ?
Thank you very much.
Eduardo Andrade (GEDI, S.A.)

Hello Ted Ueda,
Thank you for your answer, I was suspecting that...
Since this is an obvious problem, do you know if there is another way of including an image in the report in a more efficient way ? For instance, include the image, only on the first page and on the rest of the pages just include a link to that image?
I've searched in here : https://wiki.sdn.sap.com/wiki/x/JwBmBQ , but did not find anything close to this...
Thank you.
Best Regards,
Eduardo Andrade

Similar Messages

  • How to insert an image between two pages?

    How to insert an image between two pages? and how do remove the line of separation between two pages?.
    Attached image shows, there is a photo of two pages and no line of separation in the pages!

    Michi Thanks, but that option is only available on one page (2 columns), not to put two pages! see new image

  • Crystal XI crashes when inserting an Image

    Post Author: Bandi
    CA Forum: General
    Hi All,
    Just had this start out of the blue yesterday.
    Whenever I try and insert a picture via either Insert -> Picture   or   Insert -> OLE object the cursor changes to the hourglass like it is processing and then after a second or two crystal crashes saying that "crw32.exe has encountered a problem and needs to close. We are sorry for the inconvenience"
    I've tried several reports (including new blank reports, reports that already have images and ones that dont) and several different images (including images that are already on reports and new images of different sizes) and the result is always the same. A crash after a second or two of thinking about it.
    It also crashes if I try to copy/paste or drag/drop an existing image from a report to either the same report or a different report.
    Everything was working fine on Monday, then on Tuesday I could no longer add images. I've tried re-installing Crystal XI with no success. Nothing has been changed on the PC from Monday to Tuesday (This is a development machine that nothing touches) so I cant even image what has started the issue.
    Has anyone else out there experienced this or anything similar or have any suggestions?
    Thanks,
         Anthony

    Post Author: Bandi
    CA Forum: General
    I've now solved this issue just incase anyone else has the same thing happen in the future. 
    It appears that multiple monitor support is the cause of the problem.  I have 2 monitors set up side by side with my primary monitor on the right and the secondary monitor on the left. This means the coord of the secondary monitor are from 0 to -whatever.
    If you insert an image in crystal and before clicking on the report to place the image, move the cursor onto the secondary monitor (with negative left coords), crystal will crash.
    As it turned out, I had crystal positioned on the left monitor (I normally have it on the right hand primary monitor), so everytime I inserted an image the cursor was already on the left hand monitor and it would crash. If I move Crystal back to the right hand monitor, hey presto, no crashing.
    Can anybody out there try this out for confirmation?
    Hope it helps someone else
       Anthony

  • Error when inserting the image in WAD

    Hi,
    I have inserted a .gif image in MIME repository and then in WAD template I have inserted a image and then when I ry to execute the WAD template, everything is working fine in the report but the image/logo is not displayed, the link is being displayed...
    And a warning is displayed at the bottom of the WAD template:
    W2   42:46  Tag '<img>' lacks 'alt' attribute
    tag '<img>' lacks 'alt' attribute: Correct the Template in the editor
    How do I resolve this error???
    Thanks & Regards.

    Hi,
    check whether the "default_host/sap/bw/Mime" service is active  with T-code  SICF.
    logo file name should be in lower case even though it is upper case in MIME repository.
    (Logo path looks like this "sap/bw/Mime/Customer/Images/testlogo.gif")
    Regards,
    Daya Sagar

  • DWCC2014.1 - When Inserting an Image, all code is wiped and replaced with HTML framework containing an iFrame

    I recently upgraded to DW CC 2014.1 on my Mac - which caused me a number of issues. But the one I'm facing right now is very strange.
    Whenever I try to insert an image - either via the shortcut, or through the top level dropdown dialogue - when the file browser comes up, all of my HTML code disappears, to be replaced with a starter template and an iframe. This happens about 90% of the time - but it sometimes works correctly, and I can't figure out why it does work that 10%.
    Usually, I can just cancel the file browser and Undo to get my code back. But occasionally that doesn't work (and neither does Revert), and I have to close the document and re-open to my last save.
    Here's what appears when my code vanishes:
    Anybody know what's happening here? I don't use any specially created shortcuts. I've run into several issues with 2014.1 that have impacted my productivity, and it's getting increasingly frustrating.

    I am experiencing the same issue.
    Environment: Mac Pro 6,1/OS X 10.9.5/DreamWeaver CC 2014.1 6947 Build
    Relevant software: DefaultFolder X 4.6.10 (16690)
    Steps:
    1) Position cursor on its own line in Code panel of Split View.
    2) Press Cmd+Option+I [OR] select Insert > Image > Image
    3) Navigate to image using file browser
    4) Click OK
    5) Repeat the above steps to insert a second image
    Result with DefaultFolder X active:
    1) The first insert completes as expected [OR] all HTML code between opening and closing body tags disappears, and a frame tag with a source attribute pointing to the file itself is inserted after the closing head tag
    2) For subsequent inserts:
    If the first insert completed as expected: If the cursor is indented from farthest-left,  all HTML code between opening and closing body tags disappears, and a frame tag with a source attribute pointing to the file selected in the first insert appears after the closing head tag. If the cursor is not indented, *most* subsequent attempts will reproduce the issue
    If the first insert produced the issue: all subsequent inserts will reproduce the issue, and the frame source will be the file itself
    Result with DefaultFolder X disabled:
    1) The first insert completes as expected [OR] all HTML code between opening and closing body tags disappears, and a frame tag with a source attribute pointing to the file itself is inserted after the closing head tag
    2) For subsequent inserts:
    If the first insert completed as expected: If the cursor is indented from farthest-left,  all HTML code between opening and closing body tags disappears, and a frame tag with a source attribute pointing to the file itself, no matter what file is selected in the file browser dialog, appears after the closing head tag. If the cursor is not indented, *most* subsequent attempts will reproduce the issue
    If the first insert produced the issue: all subsequent inserts will reproduce the issue, and the frame source will be the file itself

  • Random image order when printing multiple images on one page.

    If I filter images within a browser (lets say * stars or better) and then select print, and set up multiple different images per sheet to print, then the order of the images on the pages is seemingly random, certainly not the oder within the browser. If I print 4 images per sheet it might start with the 3rd image, then the 9th, then the 2nd, then the 12th. If I don't filter the images and select all the images in the browser it seems to be OK.
    Any ideas?

    Cid,
    This is a nice application that will let you do just that http://www.stuntsoftware.com/PhotoBooth/
    You might also like to take a look at this http://www.econtechnologies.com/site/Pages/PortraitsPrints/pnpoverview.html

  • Adding a background image to every page.

    Problem:  I am attempting to add a company logo (.jpg) file to a multipage PDF document.  I know I can add the logo as a stamp but I need the logo to be on every page in the same position and with the same size.  I was hoping that using it as a watermark would be the answer but I can't seem to get it to work.  It would be great to be able to add it in the header section but it is not an option either (so I think).  Please let me know if there is any tricks I can learn to accomplish what I am seeking to do.  I would be willing to upgrade to Acrobat Pro X if needed.
    Background:  I am running Mac OS X (10.6.7) and Adobe Pro 9.  The issue I am running into involves a file in Microsoft Excel 2008 that contains multiple pages of spread sheets and charts/graphs.  In Excel, I add the company logo to the header section and it shows up on all pages.  When I go to print out the document some of the pages need to "Shrink to fit" and when they shrink so does the logo.  Ok, take the logo out of those pages, done.  Next, on the pages that have graphs and visual charts the logo appears on the computer but is hidden behind the visual graphic when you save as a PDF.
    That said, I have a well functioning PDF but after saving from Excel only some of the pages have the company logo on them while the others do not.  I need to have the logo on all pages in order to send as a digital version (company requires it).  My only solution right now is to print out the pages (not containing company logo) on pre-printed paper containing the logo and then scan those pages back in digitally and add them back into my PDF document.  Not only is this method time consuming but it also cuts up the PDF into a on OCRed type of PDF.
    Can't wait to hear your replies on this one!
    I really appreciate your help.  Feel free to contact me directly or via the forum with any questions.
    Best,
    Brent
    [email protected]

    Boy that makes a lot of sense.  There must be something up with my file in regards to adding a watermark.  When I have my document open in Adobe Acrobat 9 and I try to add a watermark I receive the following error.
    "An error was encountered while retrieving page content."
    I open a different document that I don't care to add the watermark to and it opens fine.  I think your answer to use watermarks is spot on.  I need to see if Adobe Acrobat X will allow me to add a watermark to my file.
    - Brent

  • Sapscript - Diferent Image in every page

    Hi all,
    I want to know how to change an image of a window for every page that sapscript generate. I want to include a image depending of the business area.
    The window is not main type. Is normal window.
    Now the image there is not changing, is allways the same.
    ¿Any suggestion?
    Thanks

    Dear Jose,
       You have to write SAPScript command to achieve this. With command IF and SAPScript Symbol for Page No. you can code to change the Graphic.
    Regards,
    Deva.

  • How to Show Different set of  Blob images in every page

    Hi i am using Crystal Report Server XI RAS Embedded Edition to built Dynamic Reports.
    Now i  have two datasets
    1. Main query with imageid field
    2. list of image blobs.
    this two datasets are linked with imageid  field and binded to ReportClientDocument.
    i have to show different image fields in every page of the report.  this images are differ in width and heights.
    i am able to show a single constant image field object from blob database field.
    but i could not able to find the solution to show different set of multiple images in different pages of the report.
    is there any formulas can be written or kindy give me a solution to achieve this.
    Regards,
    Padmanaban V
    Edited by: Padmanaban Viswanathan on Mar 15, 2010 11:59 AM

    See RAS samples [here|https://wiki.sdn.sap.com/wiki/display/BOBJ/NETRASSDK+Samples]. Look for "NET-CS2003_RAS-Managed_BE115_Add_Image" or "NET-VB2003_RAS-Managed_BE115_Add_Image-From-File".
    Ludek

  • Image size not showing when inserting into html

    I have Dreamweaver CS3
    I noticed after inserting a bunch of images using the html pane I noticed that the image sizes where not showing in the html, i.e
    <li><img src="pics/customerphoto/thmbs/100_0223_thmb.JPG" alt="guitar rack" /></li>
    however, when I drag them in to the preview pane (which I prefer not to do), the sizes are referenced, i.e
    <li><img src="pics/customerphoto/thmbs/001_thmb.jpg" width="140" height="94" /></li>
    I prefer to have the sizes included in the html and certainly don't want to manually add them. Is there a way to do this through the html pane?
    Thanks

    Right Click on picture.  Hit Reset Size.  The native height and width will then show in the image properties pane.
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    www.alt-web.com/
    www.twitter.com/altweb
    www.alt-web.blogspot.com

  • Pdf file gets huge when attached to an e-mail

    A very strange problem. Yesterday, I received an e-mail with a pdf attachment that was 10MB.  When I saved the attachement to a fold, it became 9.6kb.  I created a new e-mail and attched the smaller saved version of the pdf.  It showed as 10MB in the e-mail.  The same thing happened to another e-mail pdf attachment that I received this morning.  I even inserted an older pdf file from my computer into a new e-mail.  Same thing.  This is making it very difficult to send e-mails with pdf attachment, as they are too large for some to receive.  the sender of the original e-mail is also seeing it in the sent e-mail as 10 MB.
    I have windows XP Professional Version 2002 SP 3;  Acrobat reader 9.3

    First of all: what e-mail client are you using?
    Do you use Adobe Reader to send the PDF file, or you simply attach the PDF to a message you are composing?  That message, what format is it - plain text, HTML, RTF?
    Anyway, I have a very hard time to understand how a file of 9.6KB can show up more than a 1000 times larger (10MB) as a PDF attachment!  Does your e-mail client give the exact size of the attachment, additionally to the total size of the message?

  • Pasteboard size is huge when I create a new document

    When I create a new document or open an old document in InDesign CS4, the pasteboard is huge. For example creating an 8.5x11 document results in a pasteboard that is 36 inches wide buy 12 inches high. I have read all the solutions posed in other threads and none of them help restore the pasteboard to a reasonable size.
    I typically create a document with 0,0,0,0 for margins. Minimum vertical offset for pasteboard in preferences in 1 in.
    I uninstalled and reinstalled InDesign but the problem is still there. The problem is global (any and all documents i open).
    Does anyone know why this is happening and how to fix it?

    Are you sure facing pages wasn't selected when you created the document? How many pages are there?
    The standard pasteboard dimension is 25.5" wide for non-facing 8.5" wide pages. As far as being a waste of space, you'd be surprised at how often you might need to move a page-wide object onto the pasteboard and still have the ability to see or edit the whole thing.
    Peter

  • How to update ALL records when inserting new image

    I have categories and subcategories and they contain images. The images are in db with an order number, the lowest number is shown first on the website
    When I insert images (i have a multiple image uploader) all order numbers need update. WHen I insert for exemple 4 images, these 4 image have order 1,2,3,4 and the order of images already in db (for that category) need to become current order number + 4 and I don't know how to do this.
    Anyone that can point me in the right direction?
    Bianca

    I suggest a different approach.
    If you are timestamping your db records, use that field to determine the order.  However, a simple update query will work.
    update yourtable
    set field = field + 4

  • Problem when inserting xml flow into jspx page

    When I drag and drop the xml into the jspx I should get a pop up menu where I would choose region (Im following a tutorial) but I get nothing. I drag and drop and It just opens it in the design editor.
    I would appreciate any help you guys could give

    OK, let cover the basics first:
    JDev version?
    I assume you are on 11.1.1.2.0 or 11.1.1.3.0:
    You created a new task flow (right click on the 'Web content'->new->'ADF Task FLow'
    the check box 'Createas Bounden Task flow was set and the check box for 'Create with Page Fragments' was set
    The filename was something like 'search-email-flow.xml'
    This should create a new bounden task flow with the name of search-email-flow (which creates a xml file with the same name).
    Then you put one view to the flow. After creating the page fragment (the file created should have the jsff file type) you saved all work.
    The you open up an existing jspx file and drag the new flow from the 'Page Flows' folder under 'Web content' onto the design view of the jspx file.
    after dropping the flow you should then see the 'Create' dialog. e careful, you can't drop the flow everywhere on the page. You should drop in into a panel group or some other container. If you drop it i.e. onto a table you see the effect you described: it's opening the flow!
    Timo

  • Placing the same image on every page.

    Hi!
    I want the epub pages to show an image on the right corner. Is it possible to do it... with InDesign?
    I don't want you to teach me how to do it, just tell me if it's possible and I'll try to do it.
    I want the pages to look like this:

    You definitely cannot do it in InDesign, and, unless you were creating a fixed format EPUB, which I've never done, I doubt it could be done is a normal reflowable EPUB. Think about it, there is no fixed page size, it's just a flow of text and anchored images. As the page gets resized (on a laptop screen, or iPad, or whatever), the page is never the same size. If someone changes the font size, everything reflows differently.

Maybe you are looking for

  • Refresh the data in a datagrid

    I have a pop up that allows you to create a project. How can I then refesh the parent component to reflect this? I found an example, but it doesn't seem to work for me and I cannot see how the code they wrote would invoke this. parentDocument.sViews.

  • [svn:osmf:] 13357: 1) Modified a integration tests to correspond with the change to PluginInfo becoming a class .

    Revision: 13357 Revision: 13357 Author:   [email protected] Date:     2010-01-07 17:05:22 -0800 (Thu, 07 Jan 2010) Log Message: 1) Modified a integration tests to correspond with the change to PluginInfo becoming a class. 2) Modified the DFXPParser c

  • Learning Oracle BPM

    Our client owns a bunch of enterprise tools and has for a while, yet none of them are currently being used. So on this project they wanted us to use all of these tools. My next job in this project is to learn then create a BPM project to run the work

  • Trying to output Quicktime movies from shake scripts only geting iffs

    I am trying to batch render shake scripts using Qmaster. My quickcluster is working fine except I am getting individual iffs instead of a single Quicktime movie. My fileout node is set to Quicktime output. What I am missing? Thanks. Dan

  • How much power?

    within the next few weeks, i will likely be making the move to the world of mac and subsequently, to logic pro. my only real big question at this point is just how much power will i need? i will definately be going with the intel processor but how ma