CRXIR2 image from blob field and some fonts not displaying in PDF export

I used CRXIR2 developer edition to create a report linked to a SQL 2000 database table.  There is a blob field containing a JPG image that is different for each record in the table.  I am using VB.NET code with ASP.NET 2.0 to programmatically change the temp file to a local folder for easy cleanup, open this crystal report with the 11.5.3700.0 version of the assemblies, set the datasource to a DataTable extracted from the DB, and then export to a PDF file.
The code for creating the PDF is:
        Dim TempRoot As String = MapPath(".") & "\temp\"
        Dim oldTmp As String = System.Environment.GetEnvironmentVariable("TMP")
        System.Environment.SetEnvironmentVariable("TMP", TempRoot)
        Dim objReport As New ReportDocument()
        objReport.Load(MapPath(".") & "\CReports\" & ReportName)
        For lnX As Integer = 0 To objReport.Database.Tables.Count - 1
                objReport.Database.Tables(lnX).SetDataSource(resultTable)
        Next
        Dim objDestinationOptions As New DiskFileDestinationOptions()
        Dim objExportOptions As New ExportOptions()
        Dim objFormatTypeOptions As New CrystalDecisions.Shared.PdfRtfWordFormatOptions()
        Dim pdfName As String = "test.pdf"
        objDestinationOptions.DiskFileName = MapPath(".") & "\temp\" & pdfName
        objExportOptions.ExportFormatType = ExportFormatType.PortableDocFormat
        objExportOptions.ExportDestinationType = ExportDestinationType.DiskFile
        objExportOptions.ExportDestinationOptions = objDestinationOptions
        objReport.Export(objExportOptions)
        objReport.Dispose()
        System.Environment.SetEnvironmentVariable("TMP", oldTmp)
When I run the site locally in VS2008, everything works fine and a PDF contains the graph and all the fonts are correct.
However, when I run the exact same site from a web server running IIS6, the PDF generated does not have the image, and some of the fonts are substituted (all of the necessary fonts are installed on the IIS server).
Please help!

Hi Don,
I am able to see the image and export from the CR Designer on my machine running XP.  However, I installed the designer on our IIS server running Server 2003, and the image does not show in the designer preview on that machine.
I found another forum thread that you are involved in (1902383) that seems to be dealing with this exact issue, and it looks like there may not be a resolution.
I am going to try a different route - instead of pulling in the SQL Image field directly, I am going to write it out to a temporary file and pull it in by altering the graphic location of the picture object in the report.
I'll let you know how that works.
Pete

Similar Messages

  • Strange fonts, and some fonts not displaying at all

    Hiya
    I've recently been having problems with Firefox not displaying text correctly - instead it comes up with some jumbled weird characters.
    Here are a few things I've already tried:
    * I've tried uninstalling and reinstalling Firefox (I am currently on v3.6.10)
    * I've tried and reinstalled all the default font families in my Control Panel > Fonts
    Here are some screenshots of what I mean:
    http://img815.imageshack.us/img815/4277/personalbuissnescardbus.png
    In this one, there should be some text on the left hand side in the menu and also some useful text where the jumbled characters are near the bottom of the page.
    [http://img412.imageshack.us/img412/331/9gagchangesofthebatsymb.png external link]
    http://img412.imageshack.us/img412/331/9gagchangesofthebatsymb.png
    In this one, there should be some text in the top header, on the right hand side and also in the comments in the whitespace at the bottom
    Its been like this for a while now, but its now starting to irritate as its making it difficult to read some pages.
    Hugely appreciate any help on this.
    Thanks

    This issue can be caused by an old bitmap version of the Helvetica or Geneva font or (bitmap) fonts that Firefox can't display in that size.<br />
    Firefox can't display some old bitmap fonts in a larger size and displays gibberish instead.<br />
    You can test that by zooming out (View > Zoom > Zoom Out, Ctrl -) to make the text smaller.
    Uninstall (remove) all variants of that not working font to make Firefox use another font or see if you can find a True type version that doesn't show the problem.
    See also [/tiki-view_forum_thread.php?forumId=1&comments_parentId=566006]

  • Display image from BLOB field (png image)

    Hello,
    On my database i have a function which return BLOB (png image from a webservice)..
    Is there some tutorial or sample code how to display a image froma blob field in oracle reports?
    thank you

    You can create a view and base your report on that view. The view would be something like:
    create or replace view my_view as
    select my_blob_function() image
    from ...In your Report it would just be:
    select image
    from my_viewNow, I'm not sure if Reports supports png format, though.
    There are many examples to be found, e.g.
    http://download.oracle.com/docs/html/B10602_01/orbr_dyngraph.htm

  • MICR font not displayed in PDF on SUSE Linux Server for Check Writer (XML)

    We are generating checks by running the Check Writer(XML) concurrent request and are not able to see MICR fonts on the Check. We downloaded the free version from IDAutomationSMICR.ttf and the fonts were registered under /usr/local/fonts/micr directory. I registered in APPS and uploaded the file IDAutomationSMICR.ttf. Am I missing any steps. The DBA's have registered the fonts under /usr/local/fonts/micr on SUSE Linux Server . The custom Checks are generated but no luck with the fonts. Please advise. Can I download MICR fonts other than IDAutomation site? Appreciate your response.
    Thanks,
    Hari

    I use version 11i, so the steps are probably different. Download a font file (gnuMICR for me). Extract it to a location of your choice on your operating system.
    Follow these steps to load the MICR font to the server. (Step 11 was missing in some of the metalink documents in late 2007. I think Jan. 2008 will be OK).
    1.     Log in as XML Publisher Administrator.
    2.     Navigate to Administration->Font Files->Create Font File.
    3.     Fields are Font Name and File. For Font Name choose any descriptive name. File will browse your PC to locate the font file.
    4.     Navigate to Font Mappings->Create Font Mapping Set.
    5.     Mapping name is the name you will give to a set of fonts. [MICR Font]
    6.     Mapping code is the internal name you will give to this set. [MICR]
    7.     Type: 'PDF Form' for PDF templates. 'FO to PDF' for all other template types.
    8.     Create Font Mapping (this allows you to add multiple fonts to a set).
    9.     Font Family is the exact same name you see in Word under Fonts. If you don't use the same name the font will not be picked up at runtime. [GnuMICR]
    10.     Style and weight must also match how you use the font in Windows. Normal and Normal are good defaults. [Normal, Normal]
    11.     DO NOT enter Language or Territory
    12.     Choose a value for Font Type. [Truetype]
    13.     Search for the Font you just created in step 3. [GnuMICR]
    14.     Navigate to Configuration -> FO Processing -> Font Mapping Set. Can also be done at data def and template level under Edit Configuration. Hierarchy is Site-> Data Def -> Template.
    15.     Select your new mapping set.
    16.     Make sure the font is not referenced under File->Properties->Custom in the RTF template file.
    17.     Select a temporary directory on your concurrent processing node (Configuration -> General). This needs to be a private area not shared by other processes, read writeable by the applmgr (owner of the $APPL_TOP file system). It should be fairly large 5 GB or 20x larger than any datafile being used. The fonts will be downloaded here the first time they are used.
    18.     Also at this site level select your font mapping set.
    19.     Upload a template that uses your special font and test using preview.

  • Poor quality in images from blob field

    Post Author: pbrand
    CA Forum: .NET
    I am using Visual Studio 2005 SP1 along with Crystal Reports XI R2SP1.  I have created a dataset for my report which has several BLOB fields that contain images.  One of the images is of a National Instruments graph control.  All images appear to be of lower quality than the original images when I print the report.  For instance the graph shows quite a bit of compression artifacts around the plots and text.  I have tried turning on the "Retain Original Image Color Depth" setting which had no effect on the quality of the printout that I could see.  It appears that Crystal Reports is compressing the images. Is there a better way of printing images in a Crystal Report?  Basically what I am doing now is taking the images, converting them to byte arrays and loading them into the dataset's BLOB fields.  Then printing the report.  I have thought about using the chart control in Crystal Reports but it does not have all the functionality that I require.  Is there some way to copy the NI graph control directly to the report?  I can live with lower quality on the other images, but I need the graph to be as sharp as possible.If I can't find a solution to this I will have to drop Crystal Reports and find something else.

    Post Author: pbrand
    CA Forum: .NET
    I am using Visual Studio 2005 SP1 along with Crystal Reports XI R2SP1.  I have created a dataset for my report which has several BLOB fields that contain images.  One of the images is of a National Instruments graph control.  All images appear to be of lower quality than the original images when I print the report.  For instance the graph shows quite a bit of compression artifacts around the plots and text.  I have tried turning on the "Retain Original Image Color Depth" setting which had no effect on the quality of the printout that I could see.  It appears that Crystal Reports is compressing the images. Is there a better way of printing images in a Crystal Report?  Basically what I am doing now is taking the images, converting them to byte arrays and loading them into the dataset's BLOB fields.  Then printing the report.  I have thought about using the chart control in Crystal Reports but it does not have all the functionality that I require.  Is there some way to copy the NI graph control directly to the report?  I can live with lower quality on the other images, but I need the graph to be as sharp as possible.If I can't find a solution to this I will have to drop Crystal Reports and find something else.

  • Login action buttons no longer work and some pages not displaying correctly after upgrade.

    After recent update, some web pages not displaying correctly and Login buttons on some sites do not work. I've updated my plugins and restarted computer, but problems remains. Is this Java, Javascript or something else? Same pages are working fine in IE.

    Please update the firefox to the latest version of firefox 26
    Start Firefox in Safe Mode to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).
    <b> To Enable SafeMode </b>
    *You can open Firefox 4.0+ in Safe Mode by holding the '''Shift''' key when you open the Firefox desktop or Start menu shortcut.
    * Or open the Help menu and click on the '''Restart with Add-ons Disabled...''' menu item while Firefox is running.
    [[Image:FirefoxSafeMode|width=520]]
    ''Once you get the pop-up, just select "'Start in Safe Mode"''
    [[Image:Safe Mode Fx 15 - Win]]
    If it works in Safe Mode and in normal mode with all extensions (Tools > Add-ons > Extensions) disabled then try to find which extension is causing it by enabling one extension at a time until the problem reappears.
    Close and restart Firefox after each change via "Firefox > Exit" (Windows: Firefox/File > Exit; Mac: "Firefox > Quit Firefox"; Linux: "Firefox/File > Quit")
    * https://support.mozilla.org/en-US/kb/troubleshoot-firefox-issues-using-safe-mode
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • Custom fonts not displayed when PDF is generated using 10g Report builder

    Hi
    I have two fonts , abc.ttf and def.ttf which I have placed under C:\Windows\fonts. One of these displays a logo and the other displays barcode
    I have added the environment variable REPORTS_PATH which has value C:\Windows\fonts. I have also added entries for PDF Subset in uifont.ali.
    But still when I run the report and out to a PDF file, the fonts are not displayed. They are remapped to some other fonts.
    When I check PDF document properties in Adobe reader, under fonts tab it says
    abc
       Type:Type1
       Encoding:ANSI
       Actual Font: Adobe Sans MM
       Actual Font Type : Type 1
    def
       Type:Type1
       Encoding:ANSI
       Actual Font: Adobe Sans MM
       Actual Font Type : Type 1
    uifont.ali entries
    [ PDF:Subset ]
    # This example shows how to subset Arial True Type font into the PDF file
    # Arial = "Arial.ttf"
    # The True Type font files must exist in any one of the folders specified in
    # REPORTS_PATH.
    abc= "abc.ttf"
    def="def.ttf"
    In Oracle reports builder, I am able see these fonts and select them in my report layout
    I am able to see the fonts in Preview/screen output while running RDFs in my reports builder, but PDF output doesnt display these fonts
    Is there anything else which is required to do ? Do I need to restart the machine after environment variable is added ?

    In one PC were Report Builder is installed, we see "COURIER NEW - WESTERN" font and the RDF created / saved in that font works fine on server. I don't know if this helps!

  • Figure titles and numbering do not display in PDF

    when I convert my ditamap into a FM book to get the PDF, figures loose their numbering and titles.
    In addition, this generates a number of broken x-refs (those that point to the figure titles)
    Txs
    Arianna

    Hi Arianna...
    What version of FM are you using?
    When I do this in FM9 using a test file with the default DITA-Topic-FM structure application, it seems to be working fine. Have you modified the structure application or are you using a custom structure app? In general the default Save Map to PDF process should give you exactly what you see in the topic files.
    If you close and reopen the topic file with the xref to the figure, is the xref still there in FM?
    Note that in general you should be making a figure cross-ref to the fig element not the title element (just like when you cross-ref a topic you point to the topic not the title).
    Tell me more about what you're doing and what you're seeing and I can try to help.
    ...scott

  • Problem Displaying image from blob

    Hi all,
    I m using,
    Database : 10g Rel 2
    Frontend : DevSuite 10g
    OS : WinXp
    Browser : IE 6
    Problem : In my forms i m displaying images from blob column but some of the images are not displayed. I have tried with all image formats available in combination with all available display quality but no luck. What could be the reason for it and how do i solve it?
    Can anyone help me plz?
    Thnx in advance.
    Imtiaz

    Hello,
    It is very difficult for us to "guess" what images you can read and what others you cannot.
    Maybe you could provide more information on images that are not displayed ?
    What is their native format ?
    Francois

  • Report not showing my image in BLOB field

    Hi,
    I m using report 6i.
    But I just upgraded my server from Oracle 8.0 to 9i and now that I have a new table with image, I created the field to be a BLOB field.
    However, in old days, I uses LongRaw and I save my images using the following:-
    READ_IMAGE_FILE(filename, 'BMP', 'logos.logo')
    it works perfectly when I call the file outfrom my report but now, after I changed to BLOB, I use the report to open the BLOB field and stated it as image, it shows error stating that the report cannot identify the image.
    Any advice on this please?
    Thankz

    Develop a simple form including the BLOB field and set the properties of the image item accordingly.
    See help in forms 9i for details & examples.
    Use read_image_file built-in to read the image from the file to the BLOB item of this form.
    In the report, you set the properties of the BLOB field as in my previous reply. Run the report. That's all!
    In the reports developer, I don't think you can use read_image_file built in.

  • How to load images from BLOB to javascript?

    hi, Guys:
    I need to load thumbnail images from BLOB to multiple markers' infowindow in Google map . I have implemented Google map in APEX. I load the data suchas text for every marker's infowindow from Oracle database table with PL/JSON, and infowindow works fine. Could anyone give me a suggestion or example so I know how to load images to javascript?
    Thanks a lot.
    Database: Oracle 11g R2
    APEX: APEX 4.1
    Thanks.
    Sam

    lxiscas wrote:
    hi, VC:
    Thanks for your kind reply. I need to render these images out of APEX session, actually in javascript that is related to Google map markers' infowindow.
    I checked the documents of APEX_UTIL.GET_BLOB_FILE_SRC, but my impression is I need to use it in APEX instead of javascript if my understanding is correct. I already implemented a procedure with PL/SQL to load images from a BLOB column in Oracle database. But the problem is, how can I pass it to javascript code out of APEX to javascript (I could pass text or number from APEX to javascript with PL/JSON though,But I assume that still google map will be within a valid apex session? if so you should be able to use the above api.
    Basically what this api does is generates a kind of url to each blob in the database, not sure how google api's deal with this though. Why don't you give it a try?
    The other option is to make your pl/sql procedure public and then you can generate the json to include the images urls such as:
         "employees" : [{
                   "firstName" : "John",
                   "lastName" : "Doe",
                   "imgSrc" : "http://somewhere/db_schema.your_download_proc?p_file=#ID#",
                   "firstName" : "Anna",
                   "lastName" : "Smith"
                   "imgSrc" : "http://somewhere/db_schema.your_download_proc?p_file=#ID#",
                   "firstName" : "Peter",
                   "lastName" : "Jones"
                   "imgSrc" : "http://somewhere/db_schema.your_download_proc?p_file=#ID#",
    }And then you can use this new attribute to populate the images in javascript using standard img tag
    See this tutorial http://docs.oracle.com/cd/E14373_01/appdev.32/e13363/up_dn_files.htm
    I did not find any method in PL/JSON to pass image object)? So far I only found example to load images from local files to javascript.Hmm..I don't think you should load image objects.
    Vikram

  • A kind of tasksel, and some font / theme issue

    Hi, it is me again. After heavy fighting my own limitations and several reinstallations (but less than you count fingers on ypur hand) I am back on arch. During installation, I followed the readme that it might be a gould idea to install just the base packages, and an editor could be also a good idea. During installation, packages where sorted in a kind of tasksel (who knows debian) - well sorted groups of packages, f.e. "gnome", "kde" etc. While I am on gnome for some time, I feel that my installation misses some features. F.e. I have no possibility to change time via gnome. The admin tools (group, users, login ... - fith toe ware, I guess) is missing. Some themes are crippled, like gorilla, and some font stuff is happening as evolution overviews look rather empty. And, somehow, the system has little built in sounds, hasn't it?
    Well, if you have any idea how to fetch packages via an overview like tasksel ( ore that installation thing ) ore what packages I could need to complete gnome a bit, your ideas are welcome. 
    Btw. did I mention I really like archlin?

    RdsArts wrote:
    It was closed. Then someone did something, and now GTK+2 can't read SVG files anymore.
    I'd assume a recompile of GTK+2 would fix it, but unfortunately FreeType 2.1.7 seems to break that compiling on my system. I'm assuming it's GTK+2 that needs a recompile, as I can't think of anything else in the dependancy chain that'd deal with any image files.
    You'll need librsvg installed if you recompile. It's not a requirement of anything, so you'd have to pull it manually.
    edit: just compiled a old copy of FreeType and recompiled GTK+2, and that fixes the SVG issue so AFAIK that should fix any GNOME theme problems. That said, of the fonts, do they look "smaller" then they should? Are you using a LCD display?
    I don't know if they are smaller than they should. Seems to be OK, but yes, I use a LCD display. Should I care for something?
    Could'nt anyone fix this bug - I installed arch on several other machines, sometimes the bug appears, sometimes not. It definetly appears if I choose archlinux source on ftp install, as far as I have installed. Maybe a broken package?
    I would be glad if someone could give me a straight solution, as my main working maschine has this bug again.  :?

  • My iphone 4s suddenly displays images from Yahoo, Google, and Flickr at low resolution. The camera on my phone works fine, but any web related photo content is now pixelated and low res, what's the deal?

    My iphone 4s suddenly displays images from Yahoo, Google, and Flickr at a low resolution. I have IOS 7.0.4. My phone camera works fine, but any web based photo content from Safari, Yahoo images, Google images, and Flickr all come in pixelated and low res. What's the deal?

    It happened to me but later I figured out that cellular signal was not that great and so the Internet was very slow. It took me about 2 minutes to get the full resolution picuture on either of the app you've described. Try to get faster internet either by wifi or good signal and then check.

  • Some Artwork images are shown and some are not, in Finder ???

    I scan the CD Cover of my music CD that I put in my iTunes (all with the same scanning setting; size, resolution, JPG...). When I go in the saved folder (Album Artwork) in Finder, some images are shown and some are not (even in Cover Flow), for those who are not, they only show a default image of a little boy with JPEG written in the center. When I go in iTunes, the image Artwork are OK, it's only in Finder that some are shown and some are not. In Finder, when I click for more info on the file, all the info seem OK and I see the preview image as it should. The bug is only in Finder.
    What is the problem, and how can I fix that ???
    Thank's

    Buz,
    If you select one of the images for which you can't see the thumbnail, Control + Click and select "Get Info". Can you see the thumbnail Preview in that view (Expand it if necessary)? What are the Sharing & Permissions at the bottom?
    Chris

  • Looking for best apple software for image extraction i.e. select an image from one photo and place it on another photo

    looking for best apple software for image extraction i.e. select an image from one photo and place it on another phot

    Cannot guarantee it's the best, but it certainly is the least expensive:
    http://www.gimp.org/downloads/

Maybe you are looking for

  • Cannot open iPhoto after upgrade to Mavericks

    I have a Macbook Pro 15' with Retina Display.  I upgraded to Mavericks and afterwards ran the update to iPhoto.  Now iPhoto will not launch.  I tried using command+option to launch and tried all of those options.  Nothing has worked. iPhoto loads up,

  • How do I delete a bad email from iCloud so it will stop showing up?

    I followed the instructions to remove a bad email from my email on my macair but it won't go away.  I think that stupid icloud won't let me get rid of anything and it drives me nuts.  Every time I try to send an email to the correct address, the wron

  • IPod Touch Mail crashes after update 3.1.3

    Hi, It seems that since we updated our iPods Touch (different ones, 2nd Generation) to software 3.1.3, Mail app stopped working. It opens for a few seconds then it crashes. I have reset one of the iPods completely and synced it again, and still the s

  • RE: Icons/Applications not responding, possible corruption in HDD

    Hi, I'm having several problems with my sidebar and a few applications related to icons on the sidebar. I recently tried to access my system preferences and i'm finding that when i click on the icon on the sidebar it does not respond, i have the same

  • Server name change leads to Server.app not being able to add users/groups

    I changed the name of my server from vanroodewierda.rna.nl to rna.nl. I recreated my DNS setup (only used on the LAN) and everything works. I do have one problem, though: in Server.app, it is impossible to add/delete users and groups. (Yes, I can use