Displaying Encrypted Image File in Crystal Report

Post Author: Riaz Afridi
CA Forum: General
Hi Folk,
I have a problem to display an encrypted file in crystal report with transparent background.
I have a column varbinary(Max)  in SQL Server Database which stores  image bytes. I have decrypted this column before displaying in crystal report. The report display the image but with a black background instead of transparent.
Is there an answer to this ...
Thanks

I believe jpg and bmp images are supported

Similar Messages

  • Display image file - BLOB on Report

    Hello there,
    Has anyone knew how to display an image file (BLOB) on Report using Application Express?
    You prompt reply would be appreciated.

    Once htmldb.oracle.com is available again, you may have a look in my demo application:
    http://htmldb.oracle.com/pls/otn/f?p=31517:1
    In the tab section II, you will find an image display example and the corresponding
    procedure.
    Denes Kubicek

  • Image Quality In Crystal Reports for Visual Studio 2010

    I am using the new production release of Crystal Reports for Visual Studio 2010 and I am having an issue with image quality when adding an image to a crystal report.
    The image itself is a .TIF file,  and when opened in Windows, the quality of the image, which is mostly text, is very high. The image was created from a electronic PDF form and I intend to use this as a background for the crystal report, over which I will place data fields.
    As soon as the image is added to the report you can see the degradation in quality in the design window and in the preview window within visual studio. The quality remains low when viewing the report in the WPF report viewer and when printing from this control.
    I have ensured the "Retain Original Image Color Depth" option is checked but this has made no difference (the image is black and white anyway).
    The image in the report has been left at its native size, no resizing at all. The image is 355KB in size if that's relevant.
    Is there a reason the image looses quality when added to a report? Is it being compressed? More importantly, is there a way to make the image retain its native quality when adding it to a crystal report?
    Thanks in advance.

    The following image is the image I am trying to display. Although imageshack has converted it to a png, if you right click and save the image you can open it and zoom in with little image degradation.
    http://img132.imageshack.us/i/j301.png
    The following is a screen shot of how the tif file looks in the designer when zooming in:
    http://img138.imageshack.us/i/j30lowquantity.jpg
    The second image has lost its clarity and is unusable when printing.
    I hope this helps.

  • Over 12 minutes required to merely OPEN a .rpt file in Crystal Reports version 8.5

    Post Author: Rob Kramar
    CA Forum: General
    Background: Our division has 3 networked, but geographically dispersed, plants; each plant runs MS SQL Server and Crystal Reports on local servers.  A rather complex (version 8.5) Crystal Reports .rpt file (main report plus 12 subreports) exists and executes in one of our distant plants against a MS SQL Server database located there.  I copied that .rpt file to my local server (CTXB) which has Crystal Reports 8.5 installed and which I can access via Citrix from my PC.  I "repointed" that report to our local MS SQL Server database (located on a different server [CTXA] on my local network) [which uses the same database schema as the database in the other plant] by setting up a new ODBC  driver, using the Convert Database Driver function, and using the Set Location function.  I applied these changes to the main report and each of the subreports individually.  I dropped all the links in Visual Linking in the main report and in each of the subreports and recreated each link.  I did a Verify Database on the modified report (which appeared to check the main and each of the 12 subreports).  I ran the report within Crystal Reports v8.5 and verified that the output is correct based on my local MS SQL Server data (on server CTXA).  I saved the .rpt file on server CTXB and exited Crystal Reports v8.5.  I did all the above work on server CTXB via Citrix from my local, networked PC.
    Problem: When I try to reopen the .rpt file in Crystal Reports v8.5 (via Citrix on Server CTXB) it consistently takes over 12 minutes to merely open the report.  Once opened, it executes with acceptable speed within Crystal Reports v8.5 and produces accurate results.
    Note: If I compile the report in v8.5 on server CTXB (via Citrix), and attempt to execute the compiled report on CTXB (via Citrix), the popup with the u201CPrintu201D, u201CDoneu201D, and u201CAboutu201D buttons appears immediately, but an hourglass also appears that prevents me from clicking the u201CPrintu201D button for over 6 minutes.  Once the hourglass disappears, that popup works normally and the report executes with acceptable speed (about 4 seconds) after I click the u201CPrintu201D button for a single execution.  If I then close the output display window and try to immediately rerun the report (from the u201CPrintu201D, u201CDoneu201D, u201CAboutu201D popup which is still visible) by clicking the u201CPrintu201D button, the hourglass returns again for another 6+ minutes.  A third such iteration results in an u201Chourglass lockoutu201D of over 6 minutes.
    Note also: I can open that same .rpt file (stored on server CTXB) in Crystal v7.0 on my local PC, and it opens in less than 5 seconds.

    According to the release notes, for the JRCHelperSample to compile, you must set the target runtime for the project.
    To do this, either create a project from scratch that uses the Tomcat 5.5 target runtime, or go to the properties menu and ensure that the target runtime is set to the application server you will be using.

  • How to embed the Word Document and PDF file into Crystal report?

    How to embed the Word Document and PDF file into Crystal report?
    I have word doc which having 10 pages. I need to show all of the 10 pages at a time. I tried OLE object but problem is it shows only one page.
    Is there any solution to show word doc / PDF file in CR?

    Symptom :
    When embedding a pdf document into a Crystal Report, only the one page shows.
    Reproducing the Issue
    Environment:
    Crystal Reports OLE object
    Cause
    An OLE object only displays the first page.
    Resolution
    Embed multiple objects, one for each page
    Or
    Use a hyperlink to the object instead
    Hope this helps!
    Regards,
    Vinay

  • Exception-Error when excecuting JSP-File in Crystal reports for Eclipse

    Hi,
    I have created a jsp-File from an rpt-File in Crystal report for Eclipse. When I start the jsp-File on Apache Tomact 5.5 then only errors occurs.
    Coud anyone help me?
    HTTP Status 500 -
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    org.apache.jasper.JasperException: Unable to compile class for JSP:
    An error occurred at line: 6 in the generated java file
    Only a type can be imported. com.crystaldecisions.report.web.viewer.CrystalReportViewer resolves to a package
    An error occurred at line: 7 in the generated java file
    Only a type can be imported. com.crystaldecisions.reports.sdk.ReportClientDocument resolves to a package
    An error occurred at line: 8 in the generated java file
    Only a type can be imported. com.crystaldecisions.sdk.occa.report.application.OpenReportOptions resolves to a package
    An error occurred at line: 9 in the generated java file
    Only a type can be imported. com.crystaldecisions.sdk.occa.report.lib.ReportSDKExceptionBase resolves to a package
    An error occurred at line: 10 in the generated java file
    Only a type can be imported. com.crystaldecisions.sdk.occa.report.reportsource.IReportSource resolves to a package
    An error occurred at line: 13 in the jsp file: /Bericht1-viewer.jsp
    ReportClientDocument cannot be resolved to a type
    10:      try catch (ReportSDKExceptionBase e)
    60:      
    An error occurred at line: 58 in the jsp file: /Bericht1-viewer.jsp
    e cannot be resolved
    55:
    56:
    57:      } catch (ReportSDKExceptionBase e)
    60:      
    61: %>
    Stacktrace:
         org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:93)
         org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:330)
         org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:435)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:298)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:277)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:265)
         org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:564)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:302)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    note The full stack trace of the root cause is available in the Apache Tomcat/5.5.26 logs.
    Apache Tomcat/5.5.26
    Bericht1.jsp:
    <%@page import="com.crystaldecisions.report.web.viewer.CrystalReportViewer,
    com.crystaldecisions.reports.sdk.ReportClientDocument,
    com.crystaldecisions.sdk.occa.report.application.OpenReportOptions,
    com.crystaldecisions.sdk.occa.report.lib.ReportSDKExceptionBase,
    com.crystaldecisions.sdk.occa.report.reportsource.IReportSource"%><%
         // This sample code calls methods from the JRCHelperSample class, which
         // contains examples of how to use the BusinessObjects APIs. You are free to
         // modify and distribute the source code contained in the JRCHelperSample class.
         try {
              String reportName = "Bericht1.rpt";
              ReportClientDocument clientDoc = (ReportClientDocument) session.getAttribute(reportName);
              if (clientDoc == null) {
                   // Report can be opened from the relative location specified in the CRConfig.xml, or the report location
                   // tag can be removed to open the reports as Java resources or using an absolute path
                   // (absolute path not recommended for Web applications).
                   clientDoc = new ReportClientDocument();
                   // Open report
                   clientDoc.open(reportName, OpenReportOptions._openAsReadOnly);
                   // Store the report document in session
                   session.setAttribute(reportName, clientDoc);
                   // ****** BEGIN CONNECT CRYSTALREPORTPAGEVIEWER SNIPPET **************** 
                        // Create the CrystalReportViewer object
                        CrystalReportViewer crystalReportPageViewer = new CrystalReportViewer();
                        //     set the reportsource property of the viewer
                        IReportSource reportSource = clientDoc.getReportSource();                    
                        crystalReportPageViewer.setReportSource(reportSource);
                        // set viewer attributes
                        crystalReportPageViewer.setOwnPage(true);
                        crystalReportPageViewer.setOwnForm(true);
                        // Apply the viewer preference attributes
                        // Process the report
                        crystalReportPageViewer.processHttpRequest(request, response, application, null);
                   // ****** END CONNECT CRYSTALREPORTPAGEVIEWER SNIPPET ****************          
         } catch (ReportSDKExceptionBase e) {
             out.println(e);
    %>
    Thanks
    Arnold

    According to the release notes, for the JRCHelperSample to compile, you must set the target runtime for the project.
    To do this, either create a project from scratch that uses the Tomcat 5.5 target runtime, or go to the properties menu and ensure that the target runtime is set to the application server you will be using.

  • Opening a file in Crystal Reports

    Hello.  When I try to open a file in Crystal Reports it gives me an error message "the parameter is incorrect".  Please advise.  Thanks.
    Cindy

    Hi everyone,
    I wonder if someone could say me how I can open
    (launch) PDF / Word / Crystal Reports files by a
    Java application.
    I thank you in advance.
    RegardsLaunch them, as in their own respective applications (MS Word, Acrobat viewer, etc)?
    By invoking Runtime.getRuntime().exec(command)
    Where command is something like: "cmd.exe /c START " + documentName

  • How can i display a image file which is placed in the applications server

    Hi all,
    Can any one help me how can I display a image file which is present in the application server.
    With regards,
    M.Ramana Murthy

    hi,
    *& Form TOP_OF_PAGE
    * text
    FORM F_TOP_OF_PAGE.
    CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
    EXPORTING
    IT_LIST_COMMENTARY = IT_LISTHEADER
    i_logo = Logo name
    * I_END_OF_LIST_GRID =
    ENDFORM. "TOP_OF_PAGE
    rgds
    Anver

  • Embedding Vedio files in crystal reports

    Hi, I wanted to embed a vedio file in crystal reports, but couldnt find a way to do so.
    Please let me know the process for the same, if there is any option please let me know

    Hi Bhusan,
    I am able to get the FlashObjectInstance , but I am not able to assign FlashObjectInstance  object to my report.
    Please let me know if crystal reports has any option to assign the FalshOvjectInstance dynamically.
    CrystalDecisions.CrystalReports.ViewerObjectModel.FlashObjectInstance f = new CrystalDecisions.CrystalReports.ViewerObjectModel.FlashObjectInstance();
                f.SWFLocation = @"D:\Project\Test\Test_Management\test.swf";Thanks,
    Help will be highly appriciated.
    Uma Nath

  • Download/Display the image files stored at KM location: J2EE application

    Hi All
    Please let me know how to download/Display the image files stored at KM location on portal using J2EE application. Thanks.
    Best Regards
    P M

    You can use a servlet to deliver the image data to the <img tag, which allows you to get the data from something other than a file on the server (e.g. store the image data as a session attribute with a generated attribute key, the key being given in the serlvet's query string).

  • How to get the ard file of crystal reports

    Hi all,
    I have downloaded crystal reports from sap market place but i dont have .ard file for that how to transfer that reports into sap. How to get the ard file please help me out.
    Thanks & Regards,
    Murtuza Ahmed.

    When you click on your SAPCrystalSetup.exe and select the path to your add-on folder it will install the files and your ard file will be situated in your add-on folder.  Then you can start SAP up and install it from SAP. 
    So if your SAP install is in your local drive your ard file for crystal reports should be here C:\Program Files\SAP\SAP Business One\AddOns\SAP_CR
    Hope this helps.

  • Java application export output file of Crystal Report in .TXT format

    Hi,
    I have a Java application which is able to export the output file of Crystal Report in PDF format. But I'm trying to change the export file to .TXT format. Is this possible? I'm using Crystal Report XI. Is there any available updates or fixes to solve this? Please advice.
    Thank you

    I've tried, but I have an error
    frm-40735: when button-pressed trigger raised unhandled exception ORA-06502
    ORA-06502 when I try write a text field to the file the text field in question is a date.
    Did a similar problem ever occured to you?

  • How to Assign Image field in crystal report through Image UDF

    Hi All,
    I want to capture the Image UDF in crystal report. How can i assign the field in report.
    Can any body help me.
    regards,
    Kiran Kumar

    Hi kiran Kumar,
    IPost a message to SAP Businessone Reporting & Printing Forum
    and also check this link
    Re: SAP Business One and Crystal Reports
    Image Type In Crystal Report
    Regards
    Jambulingam.P
    Edited by: Jambulingam P on Jun 19, 2009 8:22 AM

  • Can we import extact Excel file in Crystal report in BO

    an we import extact Excel file in Crystal report in BO
    if yeh
    den HOW

    Hi Amit,
    There is no functionality to import the data from MS Excel to Crystal reports. However we can connect to the Excel sheet as a data source and create Crystal reports against Excel.
    Some popular choices in the Create New Connection folder are described here:
    Access/Excel (DAO)
    This option lets you connect to a supported database type (Access, Excel, Lotus, and so on).
    I hope this helps you.
    Regards,
    Prashant

  • Display only graph in the Crystal report viewer

    Background:
    We used Crystal Reports ver10 to display various graphs in our ASP.Net 2.0 Web Application (Visual Studio 2005)
    We recently migrated our application to .NET 4.5 and Crystal Reports ver13 (Visual Studio 2012)
    Issue:
    Now, the Crystal Report Viewer control loads the graph inside an <IFRAME> which shows the whole page with the graph placed on the right bottom corner instead of just the graph image as it used to previously.
    I have checked various properties that hides the tree and the toolbar and I am unable to get rid of the whole page.
    Query:
    Is there a way to not display the page and display only the image that contains the graph? OR
    Is there a way to not render the whole <iframe> and just display the graph image inside a <div> as it used to happen before?

    Hi Ludek, thanks for your response. Please refer the screenshots below.
    1) CR ver10 - the graph <img> is simply enclosed inside a div
    2) CR ver13 - the graph <img> is enclosed inside an <iframe>'s body - you can also see the scroll bars and "white-page-background" and "grey space" which I am hoping to hide or disable
    3) We are using the same set of CRViewer properties in both cases:
    - DisplayGroupTree = False
    - DisplayToolbar = False
    - HasDrillUpButton = Flase
    - HasRefreshButton = False
    - HasToggleGroupTreeButton = Fasle
    - HasViewList = False
    - HasZoomFactorList = False
    - EnableViewState = True
    4) Here's a screenshot of of the .rpt file opened in the VS 2012:
    We only want to render the graph image on the UI and not the whole page. Is there a property setting that will help us achive this or should we define explicit CSS styles to hide those areas?
    Thank you for looking into this!
    Avrosh

Maybe you are looking for

  • How to restore the oracle 11i backup if windows crashed?

    HI, We are running 11.5.0 with database 9i. We have single node env on windows 2000. Last night our OS was crashed, and we have the last night backup of database on tape drive, but have the application backup which is 3 months before. So, can I use t

  • Image display problem in photoshop cs6

    when i open any image in photoshop,its looks like washout but it looks fine in windows image viewer here is an example:

  • _FU_P - No matching record found..

    Hi All, I am trying to upgrade to an existing system from 8.81 PL:06 to PL:08 and get the failure as follows: Object: FUP Failure Message: No Matching records found (ODBC - 2028) I have no idea as to what this object is. Can anyone shed some light on

  • RAISE_EXCEPTION-SYSTEM_FAILURE while doing Stock CCR in background

    HI Guru , Im getting this message whenever my stocks ccr job running in background gets cancelled.. Following is the dump we get in st22 <b>ShrtText</b>     Exception condition "SYSTEM_FAILURE" raised. <b>Error analysis</b>     A RAISE statement in t

  • Filenet workflow requirement

    Hello Experts Please help me solve the following challenge. We have an early archiving scenario where images are scanned by an end user in FILENET. I have linked my custom workflow template to the ASSIGNED event of business object IMAGE. The expectat