Problem with CFimage / PNG images

I have a problem saving PNG images from another server, for example itunes, some work, some don't
The following image will open fine in my browser ->
http://a576.phobos.apple.com/us/r30/Purple/v4/de/60/bb/de60bb7f-8995-4007-cfec-1b0a472fa36 7/icon.png
This is the error I am receiving:
An exception occurred while trying to read the image.
javax.imageio.IIOException: Error reading PNG metadata
Code:
<cfimage source="http://a576.phobos.apple.com/us/r30/Purple/v4/de/60/bb/de60bb7f-8995-4007-cfec-1b0a472fa36 7/icon.png" overwrite="true"  destination="#filepath#/9999.png"
    action = "write">
I believe some images have malformed/incorrect headers. I'm guessing this is a CF issue (I use CF8), because it loads fine in a browser.
Anybody have a solution to this? Maybe an alternative way to retrieve the image? Custom tag?
Thanks
Mark

I found the issue and solution. The problem was with the Java, the JVM had issues reading SOME PNG's from servers, but not all, there must be a newer way of encoding them that was not around when the version of java I had was created, or it's just a bug. I had an earlier version of 1.6 which is downloaded as version SE 6 from Oracle.
As per some instructions by Ben Forta I tried an update of the JVM to version 7 (1.7.x),
http://forta.com/blog/index.cfm/2013/3/3/Upgrading-ColdFusion-To-Java-7
The update worked on my local dev machine which was CF8 with Win 7 64bit, and it actually fixed the CFIMAGE issue!
However, when I did the same update, with the same java file on the same version of CF8, CF would no longer restart throwing an error that it could not find a file.
Luckily I had a backup of the config file because I could not switch settings back any other way if CF would not start the administrator (Java also makes a .BAK anyway)
I tried the first build of version 7, same problem, so I went to the very last version 6, build 45, it installed, and it also fixed the CFIMAGE crash!
A couple of points for anybody else trying this
Make sure you have a back up the config, in CF8 it's located here (different to the location in Bens instructions)
Coldfusion8\runtime\bin\jvm.config
Also note that the forward and backward slashes are different for the built in JVM that ships with CF and is set in the administrator, and the location you will specify
Original location: C:/ColdFusion8/runtime/jre
New location: C:\Program Files\Java\jre7\
Here is the location to the Java file (
Java SE Runtime Environment 6u45)
Java Archive Downloads - Java SE 6
Took me days to get to the bottom of this, but the fix actually takes just a few simple steps and a few minutes, of course
Mark

Similar Messages

  • Problem with displaying BLOB images on JSP page using a servlet

    hi. I have a big problem with displaying BLOB images using JSP. I have a servlet that connects to the oracle database, gets a BLOB image , reads it, and then displays it using a BinaryStream. The problem is , this works only when i directly call that servlet, that is http://localhost:8080/ImageServlet. It doesn't work when i try to use that servlet to display my image on my JSP page (my JSP page displays only a broken-image icon ) I tried several coding approaches with my servlet (used both Blob and BLOB objects), and they work just fine as long as i display images explicitly using only the servlet.
    Here's what i use : ORACLE 10g XE , Eclipse 3.1.2, Tomcat 5.5.16 , JDK 1.5
    here is one of my image servlet's working versions (the essential part of it) :
                   BLOB blob=null;
              rset=st.executeQuery("SELECT * FROM IMAGES WHERE ID=1");
              while (rset.next())
                   blob=((OracleResultSet)rset).getBLOB(2);
              response.reset();
              response.setContentType("image/jpeg");
              response.addHeader("Content-Disposition","filename=42.jpeg");
                    ServletOutputStream ostr=response.getOutputStream();
                   InputStream istr=blob.getBinaryStream(1L);
                    int size=blob.getBufferSize();
              int len=-1;
                    byte[] buff = new byte[size];
                         while ((len=istr.read( buff ))!=-1 ) {
                   ostr.write(buff,0,len);
             response.flushBuffer();
             ostr.close(); and my JSP page code :
    <img src="/ImageServlet" border="0"  > If you could just tell me what i'm doing wrong here , or if you could show me your own solutions to that problem , i would be very greatful ,cos i'm realy stuck here , and i'm rather pressed for time too. Hope someone can help.

    I turns out that it wasn't that big of a problem after all. All i had to do was to take the above code and place it into another JSP page instead of into a servlet like i did before. Then i just used that page as a source for my IMG tag in my first JSP. It works perfectly well. Why this doesn't work for servlets i still don't know, but it's not a problem form me anymore . Ofcourse if someone knows the answer , go ahead and write. I would still appriceatte it.
    here's the magic tag : <img src="ImageJSP.jsp" border="0"  > enjoy : )

  • Problems with the background image in IE

    Hi I've been optimizing some pages for the different browsers in Dreamweaver CS4. They all work fine in Safari, Firefox and Opera, Internet Explorer is, however not showing the background image I have selected. I can't for the life of me see what's going wrong! Any help wopuld be appreciated. here is the code on my index page which I built from a template. I don't know if it's the editable areas that are going wrong!
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <!-- InstanceBeginEditable name="doctitle" -->
    <title>test site</title>
    <!-- InstanceEndEditable -->
    <link href="oneColFixCtrHdr.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
    <!--
    body {
    background-repeat: repeat-x;
    background-image:url(file:///Macintosh HD/Users/me/Documents/websites/face_divorce/test/images/test_back.png);
    .oneColFixCtrHdr #container {
    width: 770px;
    margin: 0 auto;
    border: 0;
    padding: 0;
    .oneColFixCtrHdr #header {
    text-align: centre;
    border: 0;
    padding: 0;
    .oneColFixCtrHdr #header h1 {
    <img src="../images/test_logo.png"
    margin: 0; /* zeroing the margin of the last element in the #header div will avoid margin collapse - an unexplainable space between divs. If the div has a border around it, this is not necessary as that also avoids the margin collapse */
    padding: 10px 0; /* using padding instead of margin will allow you to keep the element away from the edges of the div */
    font-size: x-large;
    text-align: right;
    .oneColFixCtrHdr #mainContent {
    padding: 0;
    .oneColFixCtrHdr #footer p {
    margin: 0; /* zeroing the margins of the first element in the footer will avoid the possibility of margin collapse - a space between divs */
    padding: 10px 0; /* padding on this element will create space, just as the the margin would have, without the margin collapse issue */
    font-family: Verdana, Geneva, sans-serif;
    color: #6699cc;
    font-size: 9px;
    font-style: normal;
    line-height: normal;
    font-weight: lighter;
        text-align: center;
    -->
    </style>
    <!-- InstanceBeginEditable name="head" -->
    <meta name="Description" content="facedivorce.com.com is an online resource tool to help guide you through the various stages of divorce.  Simply click on before, during or after divorce to find everything you could ever need to do with divorce.
    " />
    </head><meta name="keywords" content="test
    " />
    <!-- InstanceEndEditable -->
    <body class="oneColFixCtrHdr">
    <div id="container">
      <div class="oneColFixCtrHdr" id="header">
        <table width="740" border="0" align="center">
          <tr>
            <td  border="0" height="38" ></td>
            <td align="right" valign="bottom"><!-- InstanceBeginEditable name="HeaderLinks" -->
              <p class="TextButtons"><a href="index.html" class="TextButtons">Home</a>   <a href="featuredcompany.html" class="TextButtons">Featured Company</a>   <a href="youngpeople.html" class="TextButtons">Young People</a>    <a href="andmore.html" class="TextButtons">And More</a>    <a href="blog/index.html" class="TextButtons">Blog</a></p>
            <!-- InstanceEndEditable --></td>
          </tr>
          <tr>
            <th height="48" align="left" valign="bottom">
    <h1><a href="index.html" title="test"><img src="images/test_logo.png" alt="test" width="245" height="46" border="0" align="left" /></a></h1>
    </th>
            <td align="right" valign="bottom"><!-- InstanceBeginEditable name="HeaderButtons" --><a href="#"><img src="images/facebook-logo.png" alt="FaceBook Button" width="48" height="48" border="0" align="bottom" /></a> <a href="#"><img src="images/twitter_square.png" alt="Twitter Button" width="48" height="48" border="0" align="bottom" /></a><a href="#"><img src="images/blogbutton.png" alt="Blog Button" width="49" height="47" border="0" align="bottom" /></a>    <!-- InstanceEndEditable --></td>
          </tr>
        </table>
        <!-- end #header -->

    Hi
    The fact you are using a Mac is why both myself and JCellini assumed you where using a pre IE7 version.
    But the code you are using to test in IE will cause a problem with any 'virtual machine' such as crossover, because it cannot reference anything outside its own assigned section of the drive, and referencing the png in the way you are would be for it an invalid reference, it also would not work in any browser when you uploaded the site.
    Change - background-image:url(file:///Macintosh  HD/Users/myname/Documents/websites/test/Test/images/test_back.png);
    To - background-image:url(images/test_back.png);
    But if the region is not editable I would suggest you temporarily make it so, externalize your css to a css file, insert a link to the external css file in your head content, then lock the region once again. This way you will always be able to edit your css without worrying about 'locked regions'.
    PZ
    www.pziecina.com

  • Problem with getting resized image's bytes

    I've got a problem with getting correct bytes of a newly resized image. The flow is that I retrive an image from the filesystem. Due to the fact that it is large I resize it to a 50x50px thumbnail. I can display this thumbnail in #benchmark1 (see code below). Unfortunately something's wrong with my imageToBytes funtion which returns reasonably small size of image but is totally useless - I can't make an image of it anymore so at #benchmark2 the application either crashes or keeps freezing. I saved this byte array on my disk and tried to preview under Windows how does it look but I got a message "Preview unavailabe". I did some digging in the Internet and I supposed that it's because I don't use any jpg or png encoders to save the file. Actually I think that it's not the case, as the bytes returned from method imageToBytes look weird - I cannot even make a new image of them and display it without any saving in memory.
                                  byte[] bytes = FileHandler.readFile (
                                          FileHandler.PHOTOS_PATH, fileName);
                                  Image img2 = Image.createImage (bytes, 0, bytes.length);
                                  img2 = ImageHandler.getInstance ().resize (img2);
                                                    //#benchmark1
                                  bytes = ImageUtils.imageToBytes (img2);
                                  img2 = Image.createImage (bytes, 0, bytes.length);
                                                    //#benchmark2my imageToBytes function is as follows:
         public static byte[] imageToBytes (Image img)
              int[] imgRgbData = new int[img.getWidth () * img.getHeight ()];
              byte[] imageData = null;
              try
                   img.getRGB (imgRgbData, 0, img.getWidth (), 0, 0, img.getWidth (),
                           img.getHeight ());
              catch (Exception e)
              ByteArrayOutputStream baos = new ByteArrayOutputStream ();
              DataOutputStream dos = new DataOutputStream (baos);
              try
                   for (int i = 0; i < imgRgbData.length; i++)
                        dos.writeInt (imgRgbData);
                   imageData = baos.toByteArray ();
                   baos.close ();
                   dos.close ();
              catch (Exception e)
              return imageData;
    I've run totally out of any idea what's wrong, please help!
    Edited by: crawlie on Jul 17, 2010 6:21 PM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    Hey Crawlie,
    Please note that simply writing int values into ByteArrayOutputStream will not suffice. Please have a look at the following conversion from int pixel value into byte[4]:
    public static final byte[] intToByteArray(int value) {
            return new byte[] {
                    (byte)(value >>> 24),
                    (byte)(value >>> 16),
                    (byte)(value >>> 8),
                    (byte)value
    }Good Luck!
    Daniel

  • Firefox asks what to do with some PNG images instead of just displaying them

    Not sure what is going on here, but some PNG images seem to confuse Firefox, while others are fine. While some PNGs just display when clicked on (eg: when wanting to see a full size image from a thumbnail), others make Firefox ask what I want to do with it. When I select "Firefox 3.6.8" it ends with an error:
    /tmp/elementary_gtk_theme_by_DanRabbit-1.png could not be opened, because an unknown error occurred.
    Try saving to disk first and then opening the file.
    ... but when I manually made it open with "/usr/bin/firefox" (I'm in Ubuntu) the image opens fine. I was beginning to think this was now universal for PNGs, but I was opening offending ones from the same site, and going elsewhere showed that some PNGs will be displayed as usual. Does anyone have any idea why this would happen to some PNGs but not all? Here is a link to one of the problem PNGs:
    http://s.linux-mag.com/i/articles/7811/elementary_gtk_theme_by_DanRabbit.png
    It opens without issue in Opera. Hope someone can make sense of this. Cheers

    You can look at this extension:
    *Open in Browser: https://addons.mozilla.org/firefox/addon/8207

  • Problems with the background image size in a photobook

    Hi there, I really need help here. When I make a photobook I want to display my images large, taking the whole page. To do that I put the image as a background and it's OK. My problem is that when I do this, iPhoto always crops it. I have to use the move tool to move the image up and down, left or right to chose a best position. I don't want to do this, I want my image to be shown perfectly from end to end. I have to resize the image in many ways, even used the book's native resolution but it still doesn't work. If I choose "fit photo to frame size" I end up with two stripes at the top and the bottom of the page.
    Please help me, what size should I resize my image to, so that iPhoto displays it as it is?
    Thank you

    Hi
    The fact you are using a Mac is why both myself and JCellini assumed you where using a pre IE7 version.
    But the code you are using to test in IE will cause a problem with any 'virtual machine' such as crossover, because it cannot reference anything outside its own assigned section of the drive, and referencing the png in the way you are would be for it an invalid reference, it also would not work in any browser when you uploaded the site.
    Change - background-image:url(file:///Macintosh  HD/Users/myname/Documents/websites/test/Test/images/test_back.png);
    To - background-image:url(images/test_back.png);
    But if the region is not editable I would suggest you temporarily make it so, externalize your css to a css file, insert a link to the external css file in your head content, then lock the region once again. This way you will always be able to edit your css without worrying about 'locked regions'.
    PZ
    www.pziecina.com

  • Transparency not working on smartshape button filled with transparent (PNG) image.

    I'm using Captivate 8 and have had no problems so far importing PNG images with transparent backgrounds.....that is until I try and make a smartshape button and import a transparent PNG image as the background.
    It displays fine on screen, but whenever I preview it or publish, the white background of the image/button displays. Is this a known Captivate 8 limitation?
    Sorry if this is a repeated question....I've tried trawling through the forums and all I can see is to try different file formats for the images, such as GIF or BMP, which I've tried and nothing works.
    Any advice or suggestions?

    If it is a button, what is inserted for Rollover and Down state? I just recreated a shape button, with three different images for the states. All are in one PS-file as layers which I imported into Captivate. I kept Stretched checked in this case, because I know there is sometimes a slight change in size between states. Here are screenshots of Up, Rollover and Down state. The stroke was set to 0 for the shape, but to prevent all color contamination I also set stroke to the color of the background (light grey). In the first (Up) image you can clearly see where the stroke is due to truncation of the Question mark.
    Seems only possibility is in the creation of the PNG's? What was your work flow?

  • Use SVGAnimator to display a SVG with xlink PNG image

    I tried the M2GDemo and it works without this image part
    SVGAnimator animator =
    SVGAnimator.createAnimator( image );
    // add our custom event listener
    animator.setSVGEventListener(
    new CustomEventListener( image, animator ) );
    // get the Canvas for this player: requires a cast
    Canvas canvas = (Canvas) animator.getTargetComponent();
    I modify the requestResource a bit to get Image from root1.
    public void requestResource(ScalableImage inImage, String inURI)
         int pos = inURI.indexOf(":");
         if (pos >0){
              inURI = inURI.substring(pos);
         inURI = "file:///root1/"+inURI;
    try
    Connector.openInputStream(inURI);
    catch ( IOException ioe )
    ioe.printStackTrace();
    <image x='90.0' y='69.46001' width='222.7' height='152.25' xlink:href='myImage.png'/>
    Now I stuck with the error below.
    Using Pisces Renderer (native version)
    loadStarting : true
    loadComplete : true
    loadingFailed: false
    loadStarting : true
    loadComplete : true
    loadingFailed: falsejava.lang.ArrayIndexOutOfBoundsException
         at com.sun.perseus.model.Text.applyXMLSpaceDefault(+86)
         at com.sun.perseus.model.Text.applyXMLSpace(+37)
         at com.sun.perseus.model.Text.layoutText(+70)
         at com.sun.perseus.model.Text.checkLayout(+13)
         at com.sun.perseus.model.Text.paint(+12)
         at com.sun.perseus.model.ModelNode.paint(+9)
         at com.sun.perseus.model.StructureNode.paint(+16)
         at com.sun.perseus.model.ModelNode.paint(+9)
         at com.sun.perseus.model.StructureNode.paint(+16)
         at com.sun.perseus.model.ModelNode.paint(+9)
         at com.sun.perseus.model.DocumentNode.paint(+16)
         at com.sun.perseus.model.SimpleCanvasManager.fullPaint(+108)
         at com.sun.perseus.model.SimpleCanvasManager.updateCanvas(+18)
         at com.sun.perseus.midp.SVGCanvas$1.run(+87)
         at com.sun.perseus.util.RunnableQueue.run(+271)
    RunnableQueue terminatingUncaught exception java/lang/ArrayIndexOutOfBoundsException.
    Bascially all I need is a viewer to display SVG with xlink to PNG image without the use or tinyline. If I want to get the PNG image from http, what should I do?
    Any response will be greatly appreciated.

    > This technique is really just using a BEE, there is
    > documentation on the BEE concept in the online help
    > and Brian McKellar has a weblog on the subject as
    > well.
    OK, I think I get the idea. Will check the stuff. Thanks.
    > Notice the strange D at the end of the line. This
    > isn't in the original posting. Perhaps this is just
    > bad cut and paste.
    Just bad copy paste. Yes.
    > You say that this isn't working for you - but you
    > don't describe the results. Is there an error?  Does
    > it render anything in the button at all?  Does the
    > raw HTML get rendered?
    I just saw coding in the button.
    > You want to make sure that the
    > text doesn't get encoded - which would cause the HTML
    > source to display instead. On the htmlb:button you
    > will want to set the attribute encode = FALSE.
    OK, that was right on spot. This shows me the Icon! Strike!
    > Also I am not sure that you can also pass in text
    > with the image like that.  You might have to create a
    > full BEE and add the image and a textView separately
    > into the BEE.  Then render the entire BEE to a string.
    I'll check the documentation on BEE and give it a try.
    Thanks for your answer.
    Thats a starting point for me.
    Alf

  • Problem with reading PNG metadata due to unicode strings

    Being new to the XMP SDK I have problems trying to dump the XMP data from a .png file because the data contains UTF-8 data.
    I have searched the forum for answers, but the answers I found do not help.
    The answer I found was to replace std::string with std::wstring. but that causes problems with the compile - btw, I am using MSVC 2010 C++ Express
    and XMP SDK-CC201306
    Changing the std:: line to:
    #define TXMP_STRING_TYPE std::wstring
    and all string definitions in my code to wstring, gives me a bunch of compile errors, such as:
    f:\pkg\c++\xmp-toolkit-sdk-cc201306\public\include\client-glue/TXMPMeta.incl_cpp(74): error C2664: 'std::basic_string<_Elem,_Traits,_Ax> &std::basic_string<_Elem,_Traits,_Ax>::assign(const _Elem *,unsigned int)' : cannot convert parameter 1 from 'XMP_StringPtr' to 'const wchar_t *'
    1>          with
    1>          [
    1>              _Elem=wchar_t,
    1>              _Traits=std::char_traits<wchar_t>,
    1>              _Ax=std::allocator<wchar_t>
    1>          ]
    1>          Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
    1>          f:\pkg\c++\xmp-toolkit-sdk-cc201306\public\include\client-glue/TXMPMeta.incl_cpp(72) : while compiling class template member function 'void TXMPMeta<tStringObj>::SetClientString(void *,XMP_StringPtr,XMP_StringLen)'
    1>          with
    1>          [
    1>              tStringObj=std::wstring
    1>          ]
    1>          f:\pkg\c++\XMP-Toolkit-SDK-cc201306\public\include\XMP.incl_cpp(55) : see reference to class template instantiation 'TXMPMeta<tStringObj>' being compiled
    1>          with
    1>          [
    1>              tStringObj=std::wstring
    1>          ]
    Any help or pointers will be most welcome.
    TIA,
    DayWalker

    OK, I now understand the point you were driving at.
    To check out this idea, I have modified the code in the routine which dumps the output from the callback to a file as follows:
    (Though if you were to dump the file using the std:: stream - .i.e. using the utility as supplied, you should see the same problem - it is not at all dependent on my using the wxWidgets toolkit)
    XMP_Status DumpXMPToFile(void * WXUNUSED(refCon), XMP_StringPtr buffer, XMP_StringLen bufferSize )
        XMP_Status status = 0;
        wxString wsT;
        try
        wxString wsText( buffer, wxConvUTF8 );
        if( g_wfDumpFile.IsOpened() )
          wsT.Printf( _T("<%s> size(%d)"), wsText, bufferSize );
          g_wfDumpFile.SeekEnd();
          g_wfDumpFile.Write( wsT, wsT.Length() );
        else
          return -1;
        catch(XMP_Error & e)
    The output for the one line in question:
    <Iptc4xmpCore:CiAdrExtadr> size(24)< = "> size(4)<Leo-Saurer-Straße> size(15)<> size(1)<C3> size(2)<> size(1)<9F> size(2)<>> size(1)<e> size(1)<"> size(1)<
    > size(1)<   > size(3)<   > size(3)<   > size(3)
    The hex contents of the buffer I get in the callback is
    0x003908D0  4c 65 6f 2d 53 61 75 72 65 72 2d 53 74 72 61 c3 9f 65 00 cd cd cd cd  Leo-Saurer-Straße.ÍÍÍÍ
    0x003908E7  cd cd cd cd cd cd cd cd cd fd fd fd fd ab ab ab ab ab ab ab ab ee fe  ÍÍÍÍÍÍÍÍÍýýýý««««««««îþ
    As you can see, my conversion routines takes all the buffer contains and converts it to the appropriate UTF-8 string, even though the count passed to me is short and represents only the count up to the first non-ASCII character and all of the subsequent strings  - interpreted as hex values by the caller of the call back would not give me the correct characters, athough they are passed to me for display.
    The two fragments of one byte length are the ones I could not find in the actual output.
    The call stack at that point:
    >
    wxMeta.exe!DumpXMPToFile(void * __formal, const char * buffer, unsigned long bufferSize)  Line 110
    C++
    wxMeta.exe!TextOutputProcWrapper(void * refCon, const char * buffer, unsigned long bufferSize)  Line 60 + 0x18 bytes
    C++
    wxMeta.exe!DumpClearString(const std::basic_string<char,std::char_traits<char>,std::allocator<char> > & value, long (void *, const char *, unsigned long)* outProc, void * refCon)  Line 409 + 0x1c bytes
    C++
    wxMeta.exe!DumpPropertyTree(const XMP_Node * currNode, int indent, unsigned int itemIndex, long (void *, const char *, unsigned long)* outProc, void * refCon)  Line 161 + 0x14 bytes
    C++
    wxMeta.exe!DumpPropertyTree(const XMP_Node * currNode, int indent, unsigned int itemIndex, long (void *, const char *, unsigned long)* outProc, void * refCon)  Line 222 + 0x1f bytes
    C++
    wxMeta.exe!XMPMeta::DumpObject(long (void *, const char *, unsigned long)* outProc, void * refCon)  Line 1100 + 0x23 bytes
    C++
    wxMeta.exe!WXMPMeta_DumpObject_1(__XMPMeta__ * xmpObjRef, long (void *, const char *, unsigned long)* outProc, void * refCon, WXMP_Result * wResult)  Line 968
    C++
    wxMeta.exe!TXMPMeta<std::basic_string<char,std::char_traits<char>,std::allocator<char> > >::DumpObject(long (void *, const char *, unsigned long)* outProc, void * refCon)  Line 833 + 0x21 bytes
    C++
    wxMeta.exe!MyFrame::DisplayMetaData(wxString & wsrFilePathAndName)  Line 484
    C++
    Hoping this will help resolve the issue :-)

  • Problems with screen saver image quality

    Just got a MPB 15 inch. Very happy with it but have a small problem with the screen saver. I use my i Photo folders as the source for screen saver images. Some photos are shown in very good quality but others are very poor - as if low res. The original images are all of the same high quality. Seems to occur whichever video setting is used under power saving. A minor issue I now but any ideas?

    Hi, Mark. Apparently some of the photos being used are low-resolution thumbnails, not full-resolution images.
    What version of iPhoto do you have, and which OS version are you running? On my MBP running 10.5.6 and iPhoto 7.1.5, "All folders" is not an option in the Screensaver pane of System Prefs, so I don't know what you're actually choosing. But if I select "Pictures" (which refers to the Pictures folder in my Home folder), then the screensaver uses every .jpg file that it finds in any of the several iPhoto Libraries inside my Pictures folder. The thumbnails created by iPhoto are .jpgs, so they get used by the screensaver along with full-size high-resolution images.
    The solution is not to select a folder that contains any thumbnails.

  • Problem with a product image/pdf production in Indesign CS5

    Hi,
    this problem probably has an obvious solution, but I can't figure it out due to my limited experience in using Indesign. I'm trying to export my poster lay-out as pdf, but one of the several product images does not show up in the exporte pdf correctly. Instead of a product image, I only get this white image that is similar to the shape of the product image, but the actual product image is not visible. The product image is a .psd -file and it shows correctly in InDesign document, but not in the exported .pdf file. Could somebody help me to tackle this problem?
    BR,
    Masa

    Hi,
    - It shows in the preview mode
    - I'm using only one layer in the layout with all the images on it
    - The image is not non-printing in the Attributes panel
    - Links have no errors and theya re up to date
    When I create the PDF via FILE > PRINT, then the problem does not occur, but I have another problem with white margins on both top and bottom of the .pdf-file. ¨
    I still would like to create the pdf via Export.
    Thank you for your quick  reply, what's next?
    BR,
    Masa

  • JAI(Java Advanced Imaging) Problem with splitting TIFF images

    Hi
    I am getting problem with height when I use this program to split TIFF images
    ImageDecoder decImage = ImageCodec.createImageDecoder("tiff", inStr,
    null);
    Then it creates RenderedImage page by page and encodes them to file:
    String outFileName = "";
    OutputStream outStr;
    TIFFEncodeParam encParam = new TIFFEncodeParam();
    encParam.setCompression(TIFFEncodeParam.COMPRESSION_PACKBITS);
    for (int i=0,n=this.getPageCount(); i < n; i++)
    outImage = this.decImage.decodeAsRenderedImage(i);
    outFileName = "C:\\Temp\\Split" + i + ".tif";
    outStr = new FileOutputStream(outFileName);
    BufferedOutputStream bOutStr = new BufferedOutputStream(outStr);
    encImage = ImageCodec.createImageEncoder("tiff",bOutStr,encParam);
    encImage.encode(outImage);
    bOutStr.flush();
    bOutStr.close();
    }The images are shrinking when I split . I need a solution to this problem.
    Thanks for any help in advance
    Sudheer.

    Hi
    Did you get a solution for your problem. I am also trying to split a TIFF file.
    Thanks in advance
    Antony

  • Problem with Airplay Mirroring: Image Cut Off

    I have a mid 2011 Macbook Pro.   I have installed Mountain Lion.   I am able to activate Airplay Mirroring, however, part of the image is cut off.   In other words, what is shown on my TV is only about 2/3 of the image that is shown on my macbook.    It is not showing a black bar, or anything like that.   It is more like the image is enlarged and doesn't fit on the TV screen.   
    I have searched the internet trying to find a solution.   I haven't found anyone with this problem.   So, my question is, do I have some settings wrong?   Or is it a problem with the settings on my TV?   If anyone has suggestions for troubleshooting this problem I would be grateful!   I really want to use airplay!
    Thanks!

    OK, I am replying to my own question!    My husband just found a thread solving this problem.
    https://discussions.apple.com/message/19070883#19070883#19070883
    We changed the video settings on the Apple TV to 'auto', and restarted.   It works great now!

  • Problem with mounting disk images

    I have recently downloaded a media player and have had some problems. When I download the file to my desktop and try to run it, it gives me a "warning" window. In the window, it says that "the following disk images failed to mount" and gives "device not configured" as the reason. The file on the desktop's path is .dmg just to be more clear. So...yeah...any advice??
    Jay

    Just to make sure (I don't think this is your problem, but it's easy to check), make sure /System/ Library/ CoreServices/ DiskImageMounter.app is present on your Mac.
    Do you have another user account on your Mac? If necessary, use System Preferences> Accounts to create a new troubleshooting-only administrative user account. Check if that new user account can open .dmg files. If it does, that indicates a problem with the preferences in your normal user account. Use Preferential Treatment to scan your prefs. You can also drag the ~/Users/ [yourusername]/ Library/ Preferences folder tot he desktop, log out and back in, and see if .dmg images work, then move your prefes back from teh Preferences folder on the Desktop to the one in ~/Users/ [yourusername]/ Library. Or you might just try moving these prefs to the Desktop:
    /Users / [yourusername]/ Library/ Preferences/ com.apple.frameworks.diskimages.uiagent.plist
    and com.apple.LaunchServices.plist
    If the troubleshooting user account also shows the problem, first run Disk Utility/ Repair Permissions. If that doesn't fix the problem, try running the OS X Update Combo 10.4.7 (Intel) (using Disk Utility to expand that .dmg file after downloading).

  • Problem with placing dynamic images.

    I have a 800x600 file. It is being used for a PhotoSlide
    show.
    The images are displayed dynamically, as external files.
    Some of the photos will be taken 1 hour before the
    presentation, so I have
    it set up to display img001.jpg, img002.jpg, img003.jpg as
    external files.
    Once the photos are taken, they'll be renamed, and placed in
    the appropriate
    folder, so that they'll appear in the presentation, without
    having to
    republish the authorware file.
    I have the display icons for the images set to display the
    image at 400,300,
    which will center the image on-screen.
    The problem is that when i change the images out, from a
    verticle to a
    horizontal picture, then run the piece, but image's placement
    on screen
    changes.
    So how can I set the linked external file to ALWAYS display
    centered on
    screen, no matter the orientation, or size of the picture.

    That doesn't change anything from when I had X = 400 and
    Y=300.
    The images are linked externally.
    This is going to be a photo slideshow to be shown after a
    wedding, during
    the reception. I will NOT be there to administer this, or to
    republish the
    authorware files. So at the final segment of the slideshow,
    we'll be showing
    several photos taken earlier, at the wedding.
    I have it set up to display 5 photos from the wedding. They
    are grabbed
    externally, but Authorware looking for img01.jpg - img05.jpg.
    The problem is that the image's placement on-screen changes
    when a different
    size image is put in place.
    For example, if i publish the authorware file, and i was
    using a 720 x 480
    image, everything works fine. But if i replace the external
    image with a 480
    x 720 image, the placement on screen is no longer set for the
    center of the
    image to appear at the dead center of the screen (400,300). I
    need it to
    work like this, since I don't know if the wedding photos
    being added will be
    set to portrait or landscape.
    "Steve Howard **AdobeCommunityExpert**"
    <steve@$NoSpam$tomorrows-key.com>
    wrote in message news:e4t1rv$iv1$[email protected]..
    >
    >> So how can I set the linked external file to ALWAYS
    display centered on
    >> screen, no matter the orientation, or size of the
    picture.
    >
    >
    >
    > Set the display icon Positioning property to On Screen.
    Set the Initial X
    > location to WindowWidth/2
    > Set the Initial Y location to WindowHeight/2
    >
    >
    > Steve
    >
    >
    > --
    > ACE - Adobe Community Expert, Authorware
    > My blog -
    http://stevehoward.blogspot.com/
    > Authorware tips -
    http://www.tomorrows-key.com

Maybe you are looking for

  • Adhoc query - Total payroll day issue on infotype 2001

    Dear Expert, I am working on the adhoc query and would like to generate the total number of payroll days taken by a particular employee. E.g. Employee A has 4 leave record in Nov 2011 14-Nov, 16, Nov, 23 Nov, 25 Nov When I select the reporting period

  • Help _ ipod initially used on mac i want to use it as a storage also.....

    I installed my ipod on the imac g5 but i also want to use it to get files from the PC (windows xp) but i can't the PC wants to reformat my ipod. TT_TT If i reformat my ipod will i still be able to use it on my mac? or not? how come my sister's ipod i

  • Nikon Camera

    I'm looking to buy a Nikon Camera that meets the following requirements. 1.  Under $500.00 2.  Will take continious action pictures for sport events, etc. 3.  Has a good zoom lens. 4.  Must be user friendly for an amateur. Can you give me a recommend

  • FSG Reports + Excel

    I realize this is a mixed forum, but I had a question about the new Financial Report Template editor in Oracle GL 11.5.10.2. Ok maybe not that new, but new to us! 2 questions: 1) When I create a footer using Page Setup => Sheet => Custom Footer, it d

  • I want to know about ehs module and flow

    hi, This is kishore. I have been assigned to ehs module. i want to know about that how it helps industries and flow of the module. K. Kishore