Image files with large pixel dimensions display out of focus in a Bridge viewer?

I Create image files with pixel dimensions 2048x1365. When I display these files from Bridge on my Mac, either by pressing the space bar or in a slideshow, the images are out of focus. If I left click or click/hold and move the images slightly on screen they display in sharp focus. Unfortunately, although landscape-orientation images display correctly with no change in position or size, portrait-orientation files are enlarged and display with top and bottom off the screen. The pixel dimensions of my monitor are 2450x1600 so, yes, if portrait images are displayed at 100% they should display off screen, but this does not excuse the out of focus display of landscape files on this large screen. Nor does this explain why the portrait files are out of focus when they fit on screen. When the same files open in a Camera Raw window they are in focus. When they open in Photoshop at 100% the files are in focus.

Hi, Clay. Photoshop.com has its own forum, so you might want to post this there:
http://forums.adobe.com/community/photoshopdotcom

Similar Messages

  • How to reduce jpg file size, not pixel dimensions?

    I am preparing images for the web and I really have 2 questions: one about gifs, and one about jpgs.
    My standard procedure is to reduce the image to the desired pixel dimensions at 600 dpi
    That gives me a crisp small image. then I either use it as is if the file size is low enough (I try for under 600 kb) or convert it to a gif with the save for web and devices tool.
    So here are my 2 questions (I will count this solved with either answer)
    1) When I convert to a gif I have the 4 boxes: one with original size, the other 3 with options but often the options are too low res for me How do I change my 3 options to start at a higher gif res?
    2) If I try to reduce the file size of the jpg in the image size box I set the resolution lower ( 400, 300), which lowers the pixel dimensions and the filesize, but I don't want to cahnge the pixel dimensions. And  If I reset the pixel dimensions back to the size I want them, even though it is a lower resolution the file size doesn't change. How to reduce jpg file size using only the resolution, not pixel dimensions?  PS I have tried messing with checking and unchecking the 3 little boxes( scale styles, constrain proportions, and resample) but nothing has worked.

    Gif is not a great filetype, especially if you want a crisp image. What are your pixel dimensions?
    For web, it makes no difference what the dpi is, only the final pixel dimensions so once you have that as you want, use 'Save for Web and Devices' and you can lower the quality - 100% being max and 0% being lowest. I wouldn't save anything below 55%. For a 600kb image, your dimensions must be rather big.

  • I still use Aperture 2.1.4.  I need to export an image file with a CMYK profile.  Whereas a generic CMYK profile is listed in ColorSync Utility, it does not appear on the list of profiles in the edit portion of the export preset dialogue.  Help?

    I still use Aperture 2.1.4.  I need to export an image file with a CMYK profile.  Whereas a generic CMYK profile is listed in ColorSync Utility, it does not appear on the list of profiles in the edit portion of the export preset dialogue.  Help?  Is there some way to add the CMYK profile to the list of choices that are available in the export preset dialogue such that I can choose it?

    leonieDF
    Thanks for your response.  My profiles are located within color sync utility as you can see here:   
    These profiles do not respond to clicking and dragging.  Since they are all in one place, more or less, I'm reluctant to make further attempts to relocate them.  Accessing the CMYK profile is the first difficult experience I've encountered with this arrangement.  I have never needed the CMYK profile until recently, and that need has now past.  However, it remains a mystery to me as to why it does not appear with all the others on the menu of export choices in Aperture 2, or on the menu of profile assignment choices in the Preview application (where again all the other profiles are listed as choices).  I'm beginning to think my current set up will permit me to view an image that was created in CMYK space, but does not easily assign, or convert to that space.  I don't face these restrictions with all the others, so it remains a curious circumstance for me.  I anticipate upgrading my computer and software in the near future which might alleviate this issue altogether.  Again, many thanks for your attention to this matter.  The reach of this community is astounding.

  • Upload and displaying document file and image file with oracle portal

    Dear All,
    Could anyone please tell me how to displaying document file and image file that I've stored to database (8.1.7) using oracle portal. (I use intermedia data type).
    I've tried to follow the instruction given by Oracle LiveDemo, but it came with failure. (the image or document won't show up).
    Thanks for support.
    Moza

    Please repost this question in the appropriate section of the Discussion Forum.
    This forum is for general suggestions and feedback about the OTN site. For technical question about an Oracle product,
    For customers with paid support (Metalink) please go to:
    http://www.oracle.com/support/metalink

  • Load JP2 image file with GeoRasterLoader

    Hi to all,
    We are trying to set up Oracle GeoRaster tools (stand-alone client-side java Executables found in %ORACLE_HOME%\md\...) in order to view and load JP2 image files to Oracle.
    Our test environment has Oracle 11g r2 (11.2.0.3.0) EE with Spatial Option on Microsoft Windows XP Professional 2002 SP3.
    Following the instructions for loading JP2 we download and install jai_imageio-1_1-lib-windows-i586.exe from: http://download.java.net/media/jai-imageio/builds/release/1.1/
    1.     Please find an example of the command we use to invoke GeoRasterLoader from command line:
    java oracle.spatial.georaster.tools.GeoRasterLoader SE004 ORCL 1521 RD RD thin 32 T OKXE_ORTHOS GEORASTER "blocking=true blocksize=(256,256,3) spatialExtent=TRUE" "C:\Temp\0458041985\0458041985.jp2,1,OKXE_ORTHOS_RDT,C:\Temp\0458041985\0458041985.j2w,2100"
    Got connection
    Loading image: C:\Temp\0458041985\0458041985.jp2
    java.lang.NullPointerException
    at oracle.spatial.georaster.rasterio.JGeoRasterAdapter.setSRS(JGeoRasterAdapter.java:4509)
    at oracle.spatial.georaster.rasterio.JGeoRasterAdapter.setMetadataStream(JGeoRasterAdapter.java:4520)
    at oracle.spatial.georaster.rasterio.JGeoRasterAdapter.storeFromStream(JGeoRasterAdapter.java:4921)
    at oracle.spatial.georaster.rasterio.GeoRasterAdapter.doImport(GeoRasterAdapter.java:632)
    at oracle.spatial.georaster.rasterio.GeoRasterAdapter.loadFromFile(GeoRasterAdapter.java:1863)
    at oracle.spatial.georaster.tools.GeoRasterLoader.load(GeoRasterLoader.java:458)
    at oracle.spatial.georaster.tools.GeoRasterLoader.main(GeoRasterLoader.java:243)
    java.lang.NullPointerException: null
    The georaster object is not loaded correctly!!
    Loader Finished.
    2.     When using the GeoRaster Viewer for retrieving jp2 file from file we get an error message “ Can’t load Image” The error messages that appear in the command prompt are as follows:
    C:\Oracle\product\11.2.0\dbhome_1\md\demo\georaster\java>java -Xms128m -Xmx564m oracle.spatial.georaster.tools.GeoRasterTool
    java.lang.RuntimeException: - Unable to render RenderedOp for this operation.
    at javax.media.jai.RenderedOp.createInstance(RenderedOp.java:827)
    at javax.media.jai.RenderedOp.createRendering(RenderedOp.java:867)
    at javax.media.jai.RenderedOp.getWidth(RenderedOp.java:2179)
    at oracle.spatial.georaster.tools.GeoRasterTool.actionPerformed(GeoRasterTool.java:1471)
    at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
    at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
    at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
    at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
    at javax.swing.AbstractButton.doClick(AbstractButton.java:302)
    at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1051)
    at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1092)
    at java.awt.Component.processMouseEvent(Component.java:5517)
    at javax.swing.JComponent.processMouseEvent(JComponent.java:3135)
    at java.awt.Component.processEvent(Component.java:5282)
    at java.awt.Container.processEvent(Container.java:1966)
    at java.awt.Component.dispatchEventImpl(Component.java:3984)
    at java.awt.Container.dispatchEventImpl(Container.java:2024)
    at java.awt.Component.dispatchEvent(Component.java:3819)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
    at java.awt.Container.dispatchEventImpl(Container.java:2010)
    at java.awt.Window.dispatchEventImpl(Window.java:1791)
    at java.awt.Component.dispatchEvent(Component.java:3819)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
    PS. He have no problems in viewing and loading other type of image files like tif
    TIA,
    George

    Hi Tomek,
    3 to 4 MB with the following image header. Anyway, we also tried jp2 image files from other sources
    Thanks,
    BR / George
    Output from Display Header
    File Name: I:\Okxe\Orthos_June\0438042165\0438042165.jp2
    File Information:
    Standard : : Jpeg 2000 File
    Format : Lossless JPEG 2000 compression
    Pixels per Line : 1600
    Number of Lines : 1200
    Samples per pixel : 3
    File bits per sample : 8
    Actual bits per sample : 8
    Untiled file
    Number of overviews : 5
    Overview sampling method: Gaussian
    Scanning device resolution : 84 : microns
    Orientation : 4 : Row major order, origin at top left
    NO scan line headers : non-scannable file
    Packet size (16-bit words) : 0
    Free vlt space (16-bit words) : 0
    Free packet space (16-bit words) : 0
    Raster to UOR matrix:
    Identity Matrix (ones on the diagonal, zero otherwise)
    Raster to World Matrix:
    Units: Unknown or Unspecified
    amx[ 0]= 0,25, amx[ 1]= 0, amx[ 2]= 438000
    amx[ 3]= 0, amx[ 4]= -0,25, amx[ 5]= 4216800
    438000 , 4216800
    438400 , 4216800
    438400 , 4216500
    438000 , 4216500
    Geotiff_Information:
    Version: 1
    Key_Revision: 1.0
    Tagged_Information:
    ModelTiepointTag (2,3):
    0 0 0
    438000 4216800 0
    ModelPixelScaleTag (1,3):
    0.25 0.25 0
    End_Of_Tags.
    Keyed_Information:
    GTRasterTypeGeoKey (Short,1): RasterPixelIsArea
    End_Of_Keys.
    End_Of_Geotiff.
    Corner Coordinates:
    Upper Left ( 438000.000, 4216800.000)
    Lower Left ( 438000.000, 4216799.750)
    Upper Right ( 438000.250, 4216800.000)
    Lower Right ( 438000.250, 4216799.750)
    Center ( 438000.125, 4216799.875)

  • Ntsc video signal to image file with PXI-5114?

    Is it possible to use a PXI-5114 digitizer to capture a NTSC video signal and reconstuct a single frame to be saved as an image file?

    Hi Jason,
    I think the example Kyle posted is for the NI 5112 digitizer, which has to use an IMAQ board to video trigger since it does not support video triggering. However, the 5114 is one of the boards that does support video triggering, including the NTSC format. More information can be found in the digitizers help manual (online here). If you are using LabVIEW, we have a basic video triggering example that you can take a look at and try out (the example is called "niScope EX Video Triggering.vi" and can be found from the LabVIEW Example Finder or by going to Start » Programs » National Instruments » NI-SCOPE » Examples from your Windows start menu). If you need to acquire the entire frame, that will probably require you to sample a very large amount of data, in which case you may or may not be able to stream it to disk. In the best case, you can acquire the entire frame in a single record without having to do any streaming to disk. Otherwise, you may need a digitizer that can stream high throughput to a hard drive RAID or something of the sort if you plan on acquiring a large amount of data. Worst case is that it is just too much data, too fast, and it cannot be streamed. Perhaps with more details of the signal and your expected sample rate, we may be able to provide some additional guidance on the possibilities of acquiring the entire frame. Hope this helps!
    Daniel S.
    National Instruments

  • How to fetch the image file from oracle database and display it.

    hi... i've inserted the image file into the oracle database... now i want to retreive it and want to display it... can anybody help me... pls

    not a big deal dude... i fetched the image from database and saved it into my local hard disk.. but when tried to open it,ends up with no preview... dont know what d prob is... any idea... i've inserted the image as bytes n trying to fetch it as binary stream.. is that the problem... here im giving my insertion and retireving code.. jus go through it...
    Insertion code:_
    * To change this template, choose Tools | Templates
    * and open the template in the editor.
    package PMS;
    import java.io.File;
    import java.io.FileInputStream;
    import java.sql.Blob;
    import java.sql.Connection;
    import java.sql.PreparedStatement;
    import java.sql.SQLException;
    public class Browse_java
    static Connection con=null;
    public static void main(String args[])
    try{
    System.out.println("(browse.java) just entered in to the class");
    con = new PMS.DbConnection().getConnection();
    System.out.println("(browse.java) connection string is"+con);
    PreparedStatement ps = con.prepareStatement("INSERT INTO img_exp VALUES(?,?)");
    System.out.println("(browse.java) prepare statement object is"+ps);
    File file =new File("E:/vanabojanalu-/DSC02095.JPG");
    FileInputStream fs = new FileInputStream(file);
    System.out.println("lenth of file"+file.length());
    byte blob[]=new byte[(byte)file.length()];
    System.out.println("lenth of file"+blob.length);
    fs.read(blob);
    ps.setString(1,"E:/vanabojanalu-/DSC02095.JPG");
    ps.setBytes(2, blob);
    // ps.setBinaryStream(2, fs,(int)file.length());
    System.out.println("(browse.java)length of picture is"+fs.available());
    int i = ps.executeUpdate();
    System.out.println("image inserted successfully"+i);
    catch(Exception e)
    e.printStackTrace();
    finally
    try {
    con.close();
    } catch (SQLException ex) {
    ex.printStackTrace();
    and Retrieving code is:
    * To change this template, choose Tools | Templates
    * and open the template in the editor.
    package PMS;
    import java.beans.Statement;
    import java.io.*;
    import java.net.*;
    import java.sql.*;
    import java.sql.Connection;
    import java.sql.DriverManager;
    import java.sql.PreparedStatement;
    import java.sql.ResultSet;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import oracle.jdbc.OracleResultSet;
    * @author Administrator
    public class view_image2 extends HttpServlet {
    * Processes requests for both HTTP <code>GET</code> and <code>POST</code> methods.
    * @param request servlet request
    * @param response servlet response
    protected void processRequest(HttpServletRequest request, HttpServletResponse response)
    throws ServletException, IOException {
    response.setContentType("image/jpeg");
    //PrintWriter out = response.getWriter();
    try
    javax.servlet.http.HttpServletResponse res=null;;
    int returnValue = 0;
    Connection con = null;
    PreparedStatement stmt = null;
    ResultSet rs = null;
    InputStream in = null;
    OutputStream os = null;
    Blob blob = null;
    //String text;
    //text=request.getParameter("text");
    //Class.forName("com.mysql.jdbc.Driver");
    con=new PMS.DbConnection().getConnection();
    System.out.println("jus entered the class");
    //String query = "SELECT B_IMAGE FROM img_exp where VC_IMG_PATH=?";
    //conn.setAutoCommit(false);
    PreparedStatement pst = con.prepareStatement("select b_image from img_exp where vc_img_path=?");
    System.out.println("before executing the query");
    pst.setString(1,"C:/Documents and Settings/Administrator/Desktop/Leader.jpg");
    rs = pst.executeQuery();
    //System.out.println("status of result set is"+rs.next());
    System.out.println("finished writing the query");
    int i=1;
    if(rs.next())
    System.out.println("in rs") ;
    byte[] byte_image=rs.getBytes(1);
    // byte blob_byte[]= new byte[(byte)blob.length()];
    //System.out.println("length of byte is"+blob_byte);
    //String len1 = (Oracle.sql.blob)rs.getString(1);
    //System.out.println("value of string is"+len1);
    //int len = len1.length();
    //byte [] b = new byte[len];
    //in = rs.getBinaryStream(1);
    int index = in.read(byte_image, 0, byte_image.length);
    System.out.println("value of in and index are"+in+" "+index);
    FileOutputStream outImej = new FileOutputStream("C://"+i+".JPG");
    //FileOutputStream fos = new FileOutputStream (imgFileName);
    BufferedOutputStream bos = new BufferedOutputStream (outImej);
    //byte [] byte_array = new byte [blob_byte.length]; //assuming 512k size; you can vary
    //this size depending upon avlBytes
    //int bytes_read = in.read(blob_byte);
    bos.write(index);
    /*while (index != -1)
    outImej.write(blob_byte, 0, index);
    index = in.read(blob_byte, 0, blob_byte.length);
    //System.out.println("==========================");
    //System.out.println(index);
    //System.out.println(outImej);
    //System.out.println("==========================");
    /*ServletOutputStream sout = response.getOutputStream(outImej);
              for(int n = 0; n < blob_byte.length; n++) {
                   sout.write(blob_byte[n]);
              sout.flush();
              sout.close();*/
    outImej.close();
    //i++;
    else
    returnValue = 1;
    catch(Exception e)
    System.out.println("SQLEXCEPTION : " +e);
    finally {
    //out.close();
    // <editor-fold defaultstate="collapsed" desc="HttpServlet methods. Click on the + sign on the left to edit the code.">
    * Handles the HTTP <code>GET</code> method.
    * @param request servlet request
    * @param response servlet response
    protected void doGet(HttpServletRequest request, HttpServletResponse response)
    throws ServletException, IOException {
    processRequest(request, response);
    * Handles the HTTP <code>POST</code> method.
    * @param request servlet request
    * @param response servlet response
    protected void doPost(HttpServletRequest request, HttpServletResponse response)
    throws ServletException, IOException {
    processRequest(request, response);
    * Returns a short description of the servlet.
    public String getServletInfo() {
    return "Short description";
    // </editor-fold>
    }

  • Is it possible to submit an image file with PDF form?

    Hello,
    I know that Acrobat does not offer a field for image file submission.
    whether there are workarounds to solve this problem?
    I have found suggestions regarding place an image to button icon:
       event.target.buttonImportIcon();
    but I can't understand is it possible to submit this image to server (Reader supports PDF only).
    Any advices?
    Yury

    Hi Yury,
    Yes, that's correct you can create a button and add a script to it that would prompt the user to select an image file when that button is clicked. Then that image can be displayed using the same button (buttons can show either an image or text).
    The script in question is:
    event.target.buttonImportIcon();
    You need to add it as an Run a JavaScript-action to your button, triggered by the MouseUp event, and of course set the button's layout.
    Please refer to this link : https://acrobatusers.com/tutorials/how-to-create-a-button-form-field-to-insert-a-pdf-file
    On submitting the image it gets embedded with the PDF.
    If the users are using Acrobat they will be able to view the image in the PDF, however if they are using only Reader, you will have to create the form using LiveCycle & then save it in a Reader Extendable Format.
    Regards,
    Aadesh

  • Print image file with at least 150 DPI

    Happy NI Week everyone!  I couldn't make it this year, but I am working to encourage the pruchase of lots of NI hardware.
    We know about printing the front panel of a VI as a quick and somewhat dirty way to generate a report.  I know DIAdem would be the superior solution here, but I wonder if there's a middle ground.  Recently, a customer requested some minor changes to an application and one of the requests was to "clean up" the way their logo looks on a printout.  They supplied us with a high resolution version of their logo, and we tried converting it to various formats before pasting it on the front panel, but the printout seems to always be rather blocky and low resolution looking.  My thought is that the front panel is rendered at 72 DPI (dots-per-inch) and the data sent to the printer is at that resolution.  I know we can save an image of a front panel.  So what I would like to do is make an oversized front panel, save it as an image file, and print that image file at 150 or 300 DPI.
    So the question is:  How do I print an image file at a different DPI than what it was originally saved with?  What is a good method to print image files for that matter?
    Thanks,
    Dan Press
    PrimeTest Automation

    Hi Photon Dan,
    Here is a possible solution. It requires some photo editing. You could take a normal screen shot of your front panel and then import it into a photo editor such as IrfanView. From that point you could resize the image and make it very large. This will make the image quality very poor. At this point you could import the high resolution image from your client and paste it over the poor quality image in the screen shot. Then resize it back to its normal size. You should then be able to select what DPI you would like to print it at and will have a high quality logo. Lots of photo editing but it could give you what you want. 
    Regards, 
    Josh Brown
    Applications Engineer
    National Instruments

  • Old Image Files (with hidden extenion name) won't open.

    Recently upgraded from 0s 9.2 to 10.4.
    All of our file extensions that were just hidden in OS 9.2 are now missing...
    I'm looking at a folder full of image files, some are .tif, some are .eps but they now display a unix executable file icon and the extension is missing...
    Is there any way to fix this?

    Crappy workaround but at least you can see the ics info...
    • open the mobileme web client
    • click on the message with the calendar item in it
    • click on the forward message button
    You'll see all the code for the ics attachment in the view. It's ugly, but at least you can see what date and time you're scheduled for your hernia surgery

  • Spry image gallery with filmstrip - how to display all thumbnails?

    Hello,
    I'm using the Spry image gallery with filmstrip and want to be able to show all thumbnails. So instead of scrolling across to see all the thumbnails I would like to display them in a couple of rows. I thought it would be a case of changing the css from overflow: hidden to overflow: visible and increasing the height but this didn't make a difference.
    An example of my gallery is here http://www.demo.femmewebsites.com/gallery.html (This site doesn't have many thumbnails but I have others with 20+ images that need to be displayed)
    Your help would be much appreciated.
    Thanks

    Hello Krista,
    did you have a look here: http://labs.adobe.com/technologies/spry/demos/pe_gallery.html, where you will find DW "Photo Gallery Demos". In every demo, are arranged a large number of images in several rows and rows. Therefrom you can use their source codes.
    Hans-Günter

  • Opening tiff image file and finding pixel values at each point

    I want to open a tiff image file using java.Than i want to find out the pixel values at each point.Also if possible red,green and blue values.
    please mail me answer or code if possible on mail id:
    [email protected]

    Use Java Advanced Imaging to open the Tiff. There is
    a tutorial on it. Look to the left for tutorials, look
    for JAI, do what it says.
    For getting the pixels, do this:
    Use a PixelGrabber to get pixels in array:
    int[] pixels = new int[w * h];
    PixelGrabber pg = new PixelGrabber(img, x, y, w, h, pixels, 0, w);
    pg.grabPixels();
    Use a MouseMotionListner for
    mouseMoved(MouseEvent moueEvent)
    pixel = pixels[mouseEvent.getX() + (mouseEvent.getY()*width)]
    int alpha = (pixel >> 24) & 0xff;
    int red = (pixel >> 16) & 0xff;
    int green = (pixel >> 8) & 0xff;
    int blue = (pixel ) & 0xff;
    Look up the API for MouseMotionListener, PixelGrabber, etc...

  • How use PHP to read image files from a folder and display them in Flex 3 tilelist.

    Hello. I need help on displaying images from a folder dynamically using PHP and display it on FLEX 3 TileList. Im currently able to read the image files from the folder but i don't know how to display them in the TileList. This is my current code
    PHP :
    PHP Code:
    <?php
    //Open images directory
    $imglist = '';
    $dir = dir("C:\Documents and Settings\april09mpsip\My Documents\Flex Builder 3\PHPTEST\src\Assets\images");
    //List files in images directory
    while (($file = $dir->read()) !== false)
    if (eregi("gif", $file) || eregi("jpg", $file) || eregi("png", $file))
    echo "filename: " . $file . "\n";
    $dir->close();
    ?>
    FLEX 3 :
    Code:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" creationComplete="pic.send();">
    <mx:Script>
    <![CDATA[
    import mx.controls.Alert;
    import mx.events.FlexEvent;
    import mx.rpc.events.FaultEvent;
    import mx.events.ItemClickEvent;
    import mx.rpc.events.ResultEvent;
    public var image:Object;
    private function resultHandler(event:ResultEvent):void
    image = (event.result);
    ta1.text = String(event.result);
    private function faultHandler(event:FaultEvent):void
    ta1.text = "Fault Response from HTTPService call:\n ";
    ]]>
    </mx:Script>
    <mx:TileList x="31" y="22" initialize="init();" dataProvider = "{image}" width="630" height="149"/>
    <mx:String id="phpPicture">http://localhost/php/Picture.php</mx:String>
    <mx:HTTPService id="pic" url="{phpPicture}" method="POST"
    result="{resultHandler(event)}" fault="{faultHandler(event)}"/>
    <mx:TextArea x="136" y="325" width="182" height="221" id="ta1" editable="false"/>
    <mx:Label x="136" y="297" text="List of files in the folder" width="182" height="20" fontWeight="bold" fontSize="13"/>
    </mx:Application>
    Thanks. Need help as soon as possbile. URGENT.

    i have made some changes, in the php part too, and following is the resulting code( i tried it, and found that it works.):
    PHP Code:
    <?php
    echo '<?xml version="1.0" encoding="utf-8"?>';
    ?>
    <root>
    <images>
    <?php
    //Open images directory
    $dir = dir("images");
    //List files in images directory
    while (($file = $dir->read()) !== false)
    if (eregi("gif", $file) || eregi("jpg", $file) || eregi("png", $file))
    echo "<image>" . $file . "</image>"; // i expect you to use the relative path in $dir, not C:\..........
    //$dir->close();
    ?>
    </images>
    </root>
    Flex Code:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
    layout="absolute"
    creationComplete="callPHP();">
    <mx:Script>
    <![CDATA[
    import mx.rpc.http.HTTPService;
    import mx.controls.Alert;
    import mx.events.FlexEvent;
    import mx.rpc.events.FaultEvent;
    import mx.events.ItemClickEvent;
    import mx.collections.ArrayCollection;
    import mx.rpc.events.ResultEvent;
    [Bindable]
    private var arr:ArrayCollection = new ArrayCollection();
    private function callPHP():void
    var hs:HTTPService = new HTTPService();
    hs.url = 'Picture.php';
    hs.addEventListener( ResultEvent.RESULT, resultHandler );
    hs.addEventListener( FaultEvent.FAULT, faultHandler )
    hs.send();
    private function resultHandler( event:ResultEvent ):void
    arr = event.result.root.images.image as ArrayCollection;
    private function faultHandler( event:FaultEvent ):void
    Alert.show( "Fault Response from HTTPService call:\n " );
    ]]>
    </mx:Script>
    <mx:TileList id="tilelist"
    dataProvider="{arr}">
    <mx:itemRenderer>
    <mx:Component>
    <mx:Image source="images/{data}" />
    </mx:Component>
    </mx:itemRenderer>
    </mx:TileList>
    </mx:Application>

  • Is it possible to add a thumbnail to an image file with core graphics ?

    Hi,
    I'm writing a small image processing application.
    For image reading and writing I'm using core graphics (CGImageSourceRef / CGImageDestinationRef).
    Several image formats like jpeg or tiff provide the option to store a thumbnail in the file.
    To get this thumbnail I'm using
    CGImageSourceCreateThumbnailAtIndex( ... )
    which works fine so far. If there is no thumbnail in the image it is created
    with this function. Now, in the case there was no thumbnail in the image I would like to store
    the created thumbnail in the image file when I write it to the disk. So far I failed to find a function in core graphics
    to perform this task. In the CGImageDestinationRef documention it is only mentioned, that thumbnails
    are written into the output file, but not how to add these.
    I fear I'm overseeing something very trivial ...
    Regards,
    ingo

    normfb wrote:
    I believe that a Smart Object will solve your problem.
    place your original image in a new file as a smart object and do the same for the reflection (made by Transforming, reducing the opacity and introducing a mild horizontal motion blur) on its own layer, then:
    by double clicking on the smart object in the layers panel and returning to the original image, any change you make in the original and save, will automatically update the upright image and its reflection.
    Nice one Norm.  Five Kudos points to you.

  • Automation in saving a image file with a specific max file size

    Hi everyone,
    I hope someone can help me by this.
    Background info:
    We got several image files every 2 weeks which should be edited and mainly reduced in size for web purpose. This work needs 1 work day for one man/woman to do, because he/she has to open the file save for web and then set the quality to a value were the file is nearly about 150-200 KB in size.
    The images are different, some have few colors, some have a lot of colors and there are also different in resolution. But they should not be reduced in resolution, only in quality. All other specs of the image should be kept 
    Is there any possible script, plug-in or similar which can do the same (Saving with a specific max. file size) in some automatic and faster way?
    Any help is really appreciated!
    Thanks in advance!
    Kind regards
    Packesel

    *push*
    Hi everyone,
    I still need help with this. Is there any tool (OS X) or script for Photoshop who can fulfill this (see title).
    ANY help is really appreciated!
    Thanks in advance.
    Regards
    Packesel

Maybe you are looking for

  • Logical Database question

    Hi all, How can i check the logical database in the program? Regards, Luke

  • Error when using VML functions of Intel MKL v9.0 with LabVIEW 8.2.1

    Hi, I have created a DLL in Visual Studio 2005 which uses functions from the Intel Math Kernel Library (MKL) v9.0. The DLL works perfectly when I run it in VS 2005, but when I use it in the LabVIEW environment, I receive the error 1097 [An exception

  • How to control esp 301 motion controller using labview

    Hi Everybody, I am new to Labview. I am trying to connect ESP 301 motion controller from Newport to the labview and control it. But I couldn't find the drivers for it online. How can I connct it and using. I am planning to use it with USB connection.

  • Moving from MS SQL 7 to Oracle 8i

    We are thinking about moving one of our client/server applications from MS SQL 7.0 to Oracle 8i. We know that we will have to change some of the datatypes in the database. But will there have to be a major rewrite of the backend code (stored procedur

  • Password protect confidential files on a network

    Hey Guys, I am starting a new job next week and they have allowed me to use my PB on their PC network. Only problem is I have confidential formulations on my PB and I want to lock and password protect specific folders that have this info and keep it