Increase dpi of a image (Chart , process )

Hi All,
    I am getting the generated image of Charts , processes etc from Java(JFree Charts) to Flex.
But my requirement is to increase dpi of those charts in flex.
How to do that ...is there any solution for that??
thanks in Advance..

Hi All ,
    I am getting the generated image of Charts , processes etc from Java(JFree Charts) to Flex.
But my requirement is to increase dpi of those charts in flex or   Increase resolution of charts and process diagrams..
My code is like ::
private var image:Image;
image = new Image();
image.source = "Some url .. which generates chart in Java" ;
At this point .. after getting image in Flex .. i want to increase resolution of that image in AS3 .. i Heard about JPGEncoder
How to do that ...is there any solution for that??
Thanks..

Similar Messages

  • As  increase DPI, image size is also  increase in photoshop scripting ?

    as  increase DPI, image size is also  increase in photoshop scripting can please tell me what  will the reason for that?

    Hi JJMACK,
                      I am using adobe  Flex with  Photoshop scripting . I am sending  Flex file  with parameter to generate .psd.Right now i am able to generate 72 DPI with proper image size while  I am generating  .psd with  250 DPI with Improper Size.
    E.g
    This is my  flex parameters
    MgrPSAction.instance.FinishLayoutToPhotoshop(curFl , savedType ,TemplateConstant.TM_LEFT,getPSDImageName(objItem,TemplateConstant.TM_LEFT_RIGHT), objItem.LayoutTMLWidth,objItem.LayoutTMLHeight ,pageDPI,returnPhotoshopHandler,
    true,setWidth , setHeight,formatQty); ----- Page DPI - > like 72 or 250 paasing  from here.
    below is Scirpt ot resize
    function openFileAndResize(xp,yp,wi,hi,imagepath)
    var fileRef = new File(imagepath);
    var curRefDoc = app.open(fileRef);
    var curw = curRefDoc.width;
    var curh = curRefDoc.height;
    var resW;
    var resH;
    var scw = imgObj.wi/curw;
    var sch = imgObj.hi/curh;
    var scale ;
    if(scw > sch)
    scale = scw;
    else
    scale = sch;
    resW = curw * scale;
    resH = curh * scale;
    if(imgObj.isAdjustImage == "true")
    resW = resW * parseFloat (imgObj.scaleOrg);
    resH = resH * parseFloat (imgObj.scaleOrg);
    // Resize Image=======================================================
    var idImgS = charIDToTypeID( "ImgS" );
    var desc226 = new ActionDescriptor();
    var idWdth = charIDToTypeID( "Wdth" );
    var idPxl = charIDToTypeID( "#Pxl" );
    desc226.putUnitDouble( idWdth, idPxl, resW);
    var idHght = charIDToTypeID( "Hght" );
    var idPxl = charIDToTypeID( "#Pxl" );
    desc226.putUnitDouble( idHght, idPxl, resH );
    var idIntr = charIDToTypeID( "Intr" );
    var idIntp = charIDToTypeID( "Intp" );
    var idBcbc = charIDToTypeID( "Bcbc" );
    desc226.putEnumerated( idIntr, idIntp, idBcbc );
    executeAction( idImgS, desc226, DialogModes.NO );
    // Select Image=======================================================
    var idsetd = charIDToTypeID( "setd" );
    var desc263 = new ActionDescriptor();
    var idnull = charIDToTypeID( "null" );
    var ref138 = new ActionReference();
    var idChnl = charIDToTypeID( "Chnl" );
    var idfsel = charIDToTypeID( "fsel" );
    ref138.putProperty( idChnl, idfsel );
    desc263.putReference( idnull, ref138 );
    var idT = charIDToTypeID( "T " );
    var idOrdn = charIDToTypeID( "Ordn" );
    var idAl = charIDToTypeID( "Al " );
    desc263.putEnumerated( idT, idOrdn, idAl );
    executeAction( idsetd, desc263, DialogModes.NO );
    //Copy Image=======================================================
    var idcopy = charIDToTypeID( "copy" );
    executeAction( idcopy, undefined, DialogModes.NO );
    app.activeDocument.close(SaveOptions.DONOTSAVECHANGES);
    //Create Temp Layer for image adjustment =======================================================
    //createApplication(wi,hi,dpi,"imagelayerdoc");
    createApplication(wi,hi,dpi,layerAppName);
    //var curDoc = getCurDoc('imagelayerdoc');
    //get Active Temp Layer for image adjustment =======================================================
    var curDoc = getCurDoc(layerAppName);
    app.activeDocument = curDoc;
    // Past Copy image in Temp Layer for image adjustment =======================================================
    var idpast = charIDToTypeID( "past" );
    var desc250 = new ActionDescriptor();
    var idAntA = charIDToTypeID( "AntA" );
    var idAnnt = charIDToTypeID( "Annt" );
    var idAnno = charIDToTypeID( "Anno" );
    desc250.putEnumerated( idAntA, idAnnt, idAnno );
    executeAction( idpast, desc250, DialogModes.NO );
    // HERE YOU NEED TO SET XY POSTION OF IMAGE
    positionLayer(app.activeDocument.activeLayer,imgObj.moveX,imgObj.moveY);
    cropImage();
    Please reply if have answer...
    Thanks

  • Increase the number of portions in process for each conversion object

    I experts,
    I configured SAP TDMS 3.0 with SP 14 to transfer test data from QAS to DEV (both is ECC 6.0) for the first test with TDMS TIM (Time Based Reduction).
    The data transfer phase is still running (99% - 60hs running). We analyzed the Display Runtime Information report and see that objects of conversion with similar calc. records and calc. GBytes have very different the Net Runtime.
    TMDS currently is working with four objects of conversion, processing a portion of each.
    Conversion objects that are running are:
    - Z_LTBP_002
    - Z_TSEGE_002
    - Z_VEVW_002
    - Z_YST27_002
    We check in the receiver system, and we see that is use only one DIA process to update the each table.
    How can increase the performance of the update? Is correct that use only 1 DIA process for this??
    Can I increase the number of portions in process for each conversion object?
    Any help is greatly appreciated.
    Regards,
    Sergio

    Hi,
    Check SAP Note 916763 - TDMS performance composite SAP note
    Note 890797 - SAP TDMS - required and recommended system settings
    Thanks
    Sunny

  • How can I find out the dpi of an image in Acrobat.

    How can I find out the dpi of an image in Acrobat. I have tried the pre-flight option but I really don't understand the pixels width x depth information that I get. I basically just want to know at dpi of a single image. Is there other program that will read my pdf file and tell me this information.

    Thank you, tylerdurdain! That was ridiculously difficult to find. Not sure what version of Acrobat you're using in your image, but for those using Acrobat Pro 11 (in Mavericks), it's buried under View > Tools > Print Production.
    That opens a panel on the right.
    To keep from having to chase it down this way each time, right click on "Output Preview" and choose "Add to Quick Tools Toolbar". That adds a button to the top right of the toolbar.
    Now you can call up the inspector with one click. Choose Object Inspector as tylerdurdain shows above, then click on the item displayed to get its properties.

  • Image processor not saving settings for images to process

    Hello,
    I have raw images taken by a Canon G9.  I am trying to convert these .CR2 images to LZW tiff's.  This is my process:
    In Bridge, select images to process
    Click tools > photoshop > image processor
    Image processor window comes up.  I have the following settings:
         -Open first image to apply settings
         -Save in same location
         -Save as TIFF
              -LZW
         -Include ICC profile (no idea what this is, but it's checked)
    Click 'run'
    First image appears.
    Apply settings by clicking the pre-sets button and selecting my preset
    Image looks great
    Click 'Done'
    Images process
    At the end of the process, I get a message that says Sorry, I could not process the following files: (c:\temp\IMG-9678.CR2.  Which is the first image in my process where I applied my preset for the remaining images.
    The remaining images are in my TIFF folder as tiff images, but none of my preset settings from the first image carried over.
    Am I missing a step?
    Thanks in advance for any help.  I'm lost.

    I guess that could mean that Adobe Camera Raw isn’t part of Photoshop’s Document Object Model.
    But I suppose in such a case it should be possible to open all the images in ACR and apply the settings to all of them in one step with the Synchronize-button and then use a Script to save all open files.
    Admittedly that would be less convenient than Your proposed way, but maybe someone else has a better idea.
    »-Include ICC profile (no idea what this is, but it's checked)«
    Please don’t take this the wrong way, but You should read up on color-management.
    Not including the profile can generally be considered unprofessional (except maybe in an internet-specific context) and a potential source of problems.
    An images’ pixels’ RGB-values can be correctly translated to the originally intended color only when the »key« (the icc-profile) for said translation is known.

  • Imported images and processed in wrong project can I transfer?

    imported images and processed in wrong project can I transfer to the correct project and delete from the incorrect project without loosing my work so far?
    ok I know similar questions have been asked but I could not find an answer using search.....so any ideas... all help is really appreciated.
    (In aperture 2)

    Sorry I er 'cough' have just dragged and dropped from one project to another, and er well you see er that seems to have done it!images removed from first project and now appear in second correct project.
    I am sure I tried that before I posted..

  • Need help with image charts from query wizard

    When I try to make an image chart all I get is a broken pic. I am running Windows NT so its not a unix problem. I did however find this error in my jserv.log when I tried to display the chart.Can anyone tell me what it means?
    [09/05/2001 08:45:12:187 PDT] java.io.FileNotFoundException: http://national/pls/portal30/PORTAL30.CHART_0509084315.show?p_format=XML
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:528)
    at oracle.webdb.chart.ChartServlet.doGet(ChartServlet.java:36)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:499)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
    at org.apache.jserv.JServConnection.processRequest(JServConnection.java, Compiled Code)
    at org.apache.jserv.JServConnection.run(JServConnection.java, Compiled Code)
    at java.lang.Thread.run(Thread.java:479)
    null

    Thanks for the link! I'm able to do a File Select via JFileChooser and display the image onto a JLabel using the ImageIcon method (many thanks for that!). Currently, this is what I have (ImageFilter() extends FileFilter):
         ImageIcon photoIcon;
         JLabel photoLabel = new JLabel();
         JFileChooser fc = new JFileChooser();
         <snip>
         private JPanel DPCtr()
              <snip>
              photoIcon = new ImageIcon("default.jpg");
              photoLabel.setIcon(photoIcon);
              photoLabel.setPreferredSize(new Dimension(150, 150));
              <snip>
              return p;
         <snip>
         public void actionPerformed(ActionEvent a)
              if (a.getSource() == browseBut) {
                   fc.setFileFilter(new ImageFilter());
                   int returnVal = fc.showOpenDialog(DiseasePane.this);
                   if (returnVal == JFileChooser.APPROVE_OPTION) {
                        File imgFile = fc.getSelectedFile();
                        try {
                             photoIcon = new ImageIcon(imgFile.toURL());
                        } catch (MalformedURLException e) {
                             System.err.println("Invalid URL");
                        photoLabel.setIcon(photoIcon);
         }

  • PDF Export reducing dpi on jpeg images

    Using Pages to create a book manuscript to submit to createspace.com which I have successfully done in the past. However createspace's automated reviewer indicates that the first 2 jpegs in the pdf have been reduced to 144 dpi, although the images are 3264 by 2448 uncropped. Identical images later in the book were converted without the dpi reduction. I've tried both replacing the photos and creating the pdf using both the PRINT dialog with photopaper setting and export with best setting.  It seems to be a bug within pages--- any suggestions on workarounds?

    Since you could be talking about any version of Pages, but are having problems that are usually associated with Pages 5, let's assume that you are talking about Pages 5.
    Have you tried exporting the book from Pages '09 instead?
    Peter

  • Image Charts not producing images

    Hi all,
    We are using Oracle8i 8.1.7 database on Sun Solaris 9 and Portal 3.0.9.8.4 on the same server, I am trying the Image charts, it is not producing images, any ideas ?

    Hi,
    Are you getting any errors in the log? Look for errors in the log file of jserv.

  • Hi I am using MAC OS Yosemite 10.10.2. I am unable to save images post processing in CC 2014. Error given - "Unable to save image Write Access not granted"

    I am a new user to the Photoshop CC 2014. I am unable to save images post processing. Error given is "Unable to save image Write access not granted". Can some one please help me with this.
    I am using Mac OS Yosemite Version 10.10.2
    Regds
    Shashi

    In a finder window highlight and right click the folder you are trying to save to and select Get Info. In the window that opens look at the bottom to see if you have Read/Write permissions. If you don't click the Plus sign and add your Admin Username to the list and give it full Read/Write permissions.
    Open Disk Utility and on the First Aid tab select Repair Permissions and let it run.

  • How can i change the DPI of an image to 400 in illustrator?

    I'm very stuck with trying to change the DPI of an image to 400 so that it is ready to print and the resolution will be fine once printed but i have no idea how to do this in illustrator?

    dpi,
    If you are talking about a raster image placed in Illy, you can only change the size to get the desired PPI/DPI.
    If you are talking about raster effects or a raster image created in Illy, you may set the desired resolution of raster effects, or the desired resolution or total pixel x pixel size of the exported/saved image.
    If you are talking about pure vector artwork, the resolution depends on your printer (driver) (settings), as Doug said.

  • How to set DPI of TIFF image

    Please help me.
    How to set DPI of TIFF image using Java/JAI?

    jr,
    The size in pixels in the document will be the size of the image at 72 PPI when Saved for Web. Remember to tick Anti-Aliasing in the Image Size window, and place the artwork (borders) to correspond to whole pixels.

  • Unable to create image chart

    I have tried to create an image chart beacuse I want colour coded info in my charts. I follow the steps, encounter no erros but get no result for my efforts other than a broken image. Am I missing something something? Do I need to change any particular settings?

    The Metalink Note reads as follows:
    Problem Description
    You successfully installed Oracle Portal on UNIX platform and you want to create new application component of type chart, specifically Image Chart. Use used Query Wizard to create this component, however when you want to test it only page with selected template and 'broken image' icon is displayed.
    Solution Description
    Image charts are generated by oracle.webdb.chart.ChartServlet therefore, first check jserv.log file for any reported errors.
    If there is no obvious problem try to check jserv.properties file. It should contain directive wrapper.env=DISPLAY=<host:dislpay>.
    <host:display> must point to existing and running X Server. If it does, use xhost command to verify whether X server uses connect restrictions. If yes, use xhost command to add your host into list of hosts allowed to connect to this X server.
    If you make any change to jserv.properies file, you will have to restart your Apache web server.
    Explanation
    In order to generate graph, Java needs to know certain metrics of graphics subsystem and therefore there is requirement for running X server.
    This problem doesn't occure when Oracle Portal runs on Windows platform.
    null

  • How to Integrate Oracle Imaging and Process Management(IPM) 7.7.10 with EBS

    Hi All,
    We are implementing the following modules from Oracle Content Management to one of our Client, the following are the versions of the tools:
    Configure and deploy Oracle Forms Recognition (OFR) 10GR3
    Configure the Oracle Adopter for integration of OFR with EBS Version 11.5.10.2
    Configure the Adopter for integration of OFR with Oracle Imaging and Process Management (IPM) 7.7.10
    I really like to have any technical design document on integrations front, especially from OFR -> EBS and also IPM -> EBS.
    Please feel reach me on my following contact details:
    [email protected]
    Phone: 1865-582-2369
    Mobile: 1865-202-6430
    Any pointers for the same is well appreciated.
    Regards
    Chandra

    Try replacing the .dll file with the one in your WINDOWS directory. I had that problem and I copied the .dll from C:/WINDOWS/system32 to overwrite the one located in the install directory.

  • There is no way to increase dpi in Paint ! in Windows 7

    There is no way to increase dpi in Paint ! Windows 7
    The default is 96%

    One big problem is that when you resave a .gif Paint resamples the colors and makes a mess of it whereas in the past it used to work quite well.
    Microsoft have made a mess of Paint in Windows 7 and should fix it up to be at least as reliable as Paint in Vista and XP.
    I can live with the Ribbon and do like some of the new tools but technically it is less superior to its predecessor?

Maybe you are looking for

  • Does Mac Mini's HDMI-to-DVI cable support analog DVI monitors?

    The Apple website shows that the new (late 2012) Mac Mini comes with an HDMI-to-DVI adapter cable in the box :-) The DVI video connector standard supports both analog and digital video signal modes, but not all models support both modes. I have an ol

  • Need to send CSV attachments in a single mail to the Rcvr

    Hi All,      Currently we are using 7.1 release of PI system. The scenario is from IDOC to ANSI Format. All the files recieved from IDOC should be sent as an attachment in  CSV format in a single mail .Could anyone please let me know how to proceed w

  • Simple Query working on 10G and not working on 11gR2 after upgrade

    Hi Folks, This is the first time i am posting the query in this Blog. I have a small issue which preventing the UAT Sigoff. Simple query working fine on 10.2.0.1 and after upgrade to 11.2.0.1 its error out 10.2.0.4: ===== SQL> SELECT COUNT(*) FROM AP

  • Wireless keyboard gives wrong letters

    wireless keyboard gives wrong letters

  • Flash player replay buffering problem????

    Dear All, I am working on asp.net application where i have used flash player for showing the recorded videos but the problem is when i played the video fist time it read from server its fine but when its completed and i want to replay the same video