Image refreshing on a frame

the project deals with images which have to be displayed on to a frame, however the images are
not displayed properly.Initially only a band of the image is displayed... however on trying to resize the frame the image is entirely visible.
Also we would like to know that in case of using split panes in order to display 2 images at a time
how do we refresh only one of the panes.

I have had a similar problem with an image only partially appearing in a Frame. The problem is that the image is not completely loaded when it is displayed. You may have to use a Media Tracker and/or a BufferedImage. I have used the Tracker which eliminates the problem but can cause delays to an image rotation. Another solution would be to use an OffScreenImage to have it preloaded. I think a friend of mine used that in a game we did for comp class last year. If you want the tracker code I used just send me an email and I'll locate it... Good luck with your project....
Scott

Similar Messages

  • Why the images have missed their frame stroke, once online?

    I am working on my new website on iweb 09, and published a test, it looks very nice.
    The only thing I don´t understand is why the images have missed their frame stroke, once online.
    What´s wrong, any idea?
    On iWeb, Inspector/Graphic/Stroke/Picture Frame

    It appears that the Scrips folder for you site has not been uploaded or not uploaded fully. There are two files, iWebImage.js and iWebSite.js. Try the following:
    1 - do a File->Publish Entire Site and see if the site works as intended. You may have to do a refresh on the pages a couple of times.
    2 - next, in needed, publish your site to a folder on your hard drive. Mount your iDisk and go to the iDisk/Web/Sites/arkimo folder. Drag the two files above from the Scripts folder on your computer into the Scripts folder on the iDisk Then try the site again.
    Part of the problem is the server, some files not loading the first time, and part is the missing js files in the Scripts folder.

  • Need help with Image refreshing using the 1408

    I'm trying to develop a VI that allows user control over the image refreshing. In the end I would like something that allows the user to view a live or somewhat close to live image from the camera, and then when they desire freeze the image. The catch is I would also like the images to be color, and to allow the user to again view a live image if they wish.
    Essentially I want the user to be able to focus the camera and set light levels while viewing a live image on the screen (again flicker is ok, just as long as it has a decent refresh rate). And then when ready freeze the image and use the last image captured (the frozen one) for some analysis purposes.

    The simplest way to do this is to put the IMAQ Snap vi inside a while loop. Initialize your image and IMAQ outside the loop. Create an "Acquire" boolean control on your front panel. Put the Snap & display inside a case statement so that it only acquires a new image if the Acquire button is in the "On" position. This will give you a pretty smooth update rate and is very easy to program.
    If you want an update rate closer to the frame rate of the camera, you can set up an IMAQ Grab outside the loop, then read the latest image and display it in the case statement.
    Bruce
    Bruce Ammons
    Ammons Engineering

  • Best Practice for Image placement and Anchored Frames for use in Robohelp 9

    Hi,
    I'm looking for the best practices in how to layout my images in Framemaker 10 so that they translate correctly to Robohelp 9.  I currently have images inside of Anchored frames that "Run into" the right side of my text. I've adjusted the size of the anchored frame so that my text flows correctly around the image. Everything looks good in Framemaker! Yeah! The problem is that when I link my Framemaker document to Robohelp, the text does not flow around my image in the same manner. On a couple of Robohelp screens the image is running into the footer. I'm wondering if I should be using tables in Framemaker in order to get the page layout that I'm looking for. Also, I went back and forth...is this a Framemaker question or is this a Robohelp question. Any assistance would be greatly appreciated.

    I think Jeff is meaning this section of the RoboHelp forums:
    http://forums.adobe.com/community/robohelp/robohelp_framemaker

  • IndesingCS2 server scriptable pluign: how to import image file into a frame.?

    Hello<br />I am creating a scriptable pluign for indesingcs2 server.<br />Now I am stuck at importing a image file in a image frame on a document.<br />The code which was running fine for indesingcs2 desktop is given below.<br />/////////////////////////////////////////////////////////////////////////////////////// ///////////<br />     IDFile sysFile = SDKUtilities::PMStringToSysFile(const_cast<PMString* >(&ImageFileNamewithcompletepath));     <br />     InterfacePtr<ICommand> importCmd(CmdUtils::CreateCommand(kImportAndLoadPlaceGunCmdBoss));<br />     if(!importCmd) <br />          return kFalse;          <br />InterfacePtr<IImportFileCmdData> importFileCmdData(importCmd, IID_IIMPORTFILECMDDATA); <br />     if(!importFileCmdData)<br />          return kFalse;<br /><br />     <br /><br />     //db is input.I got it using the techniques mentioned in the indesign-server-plugin-techniques.pdf<br />     //page 18..<br />     importFileCmdData->Set(db, sysFile, kMinimalUI);<br />     ErrorCode err = CmdUtils::ProcessCommand(importCmd);<br />     if(err != kSuccess) <br />          return kFalse;<br /><br />     InterfacePtr<IPlaceGun> placeGun(db, db->GetRootUID(), UseDefaultIID());<br />     if(!placeGun)<br />          return kFalse;<br /><br />     <br />     UIDRef placedItem(db, placeGun->GetItemUID());<br /><br />     InterfacePtr<ICommand> replaceCmd(CmdUtils::CreateCommand(kReplaceCmdBoss));<br />     if (replaceCmd == nil)<br />          return kFalse;<br /><br />     InterfacePtr<IReplaceCmdData>iRepData(replaceCmd, IID_IREPLACECMDDATA);<br />     if(!iRepData)<br />          return kFalse;<br />     <br />     iRepData->Set(db, imageBox.GetUID(), placedItem.GetUID(), kFalse);<br /><br />     ErrorCode status = CmdUtils::ProcessCommand(replaceCmd);<br />     if(status==kFailure)<br />          return kFalse;<br /><br />     return kTrue;<br />/////////////////////////////////////////////////////////////////////////////////////// //////////<br />I used the same code for making scriptable plugin for indesignCS2 server as it doesn't involve use of any UI element.<br />But this code is not working.It doesn't crash or returns kFalse.<br />What i see after executing the plugin through script is a grey region for image in the graphics frame.<br /><br />I request if anyone gives me solution to this i will be highly grateful to him.<br /><br />Thanks and Regards,<br />Yogesh Joshi

    Actually, your code is working fine, as there are no returned errors, asserts or crashes.
    The reason you are just seeing a gray box, is that the display performance is set to the lowest level in InDesign Server for performance reasons.
    Hint: Open the document in "desktop" InDesign, right click on the image, and look at the Display Performance settings for the image.
    See
    Ken Sadahiro, "[CS2 Server] Controlling display performance, how?" #1, 23 Feb 2006 8:01 am
    You can of course programmatically change it to the normal or high res settings from within your plug-in, but it might slow down the performance of InDesign Server a bit.
    One additional comment:
    In your code where you do this:
    importFileCmdData->Set(db, sysFile, kMinimalUI);
    I would do this, just to be safe:
    if (LocaleSetting::GetLocale().IsProductFS(kInDesignServerProductFS )) { importFileCmdData->Set(db, sysFile, kSuppressUI); } else { importFileCmdData->Set(db, sysFile, kMinimalUI); }

  • How to render a video from image sequence with custom frame rate?

    Dear all,
    For a project i would like to create a video from 47 images with a custom frame rate. To achieve this i take the following steps in Photoshop CS6 extended:
    1) File -> Open...
    2) Select the first image and select " image sequence ". All images have the same size (1280 x 1261 px) and are numbered correctly.
    3) Click open
    4) Frame Rate: Custom 3 fps
    5) File -> Export -> Render Video... -> Render
    6) Play the video with VLC. The video shows a still image of the first image.
    If i choose a frame rate of 10 fps, then there is no problem. VLC plays the video as expected.
    Is there a other way to create a video from 47 images and choose a custom frame rate? Or what am i doing wrong?

    Seen this SO thread?
    http://stackoverflow.com/questions/6691136/how-to-convert-series-of-images-into- movie-in-ios

  • Anchored images outside of button frame

    Hi Experts
    I am trying to find a way of getting an image to become visible on rollover on a button I've created, without having the image positioned within the button frame. The images are large & I have several small buttons on the page, each linked to text frames with anchored text objects (the images.) Anchoring the images outside the text frame is no problem, but visibility is limited to the button frame.How do I link large images to small buttons that only activate on rollover? Any ideas? PLEASE help!

    Convert that image you want to appear to separate button, and attach show/hide buttons action to your real button. Use rollover as trigger for showing your image, and rollout for hiding it again....

  • InDesign CS3 Scripting XML Import Multiple Images into same Text Frame

    I am having trouble importing multiple images into the same Text Frame using XML import. I imported 5 images into the text frame. However, all 5 images are laying on top of one another. Does anyone know if there is a way to have all images laying out like how Microsoft Word handles inline images, i.e., laying out next image to the right of previsous image in the same line and if there is not enough space left in the line, then wrap to next line. Thanks in advance. I understand I could use JavaScript to do post import processing, e.g, calculate the image size and place each images accordingly. But I am trying to see whether there is a way to do this without scripts.

    You can apply an object style to all anchored images by script. A text frame containing main flow should be selected.
    var doc = app.activeDocument;
    var textFrame =  app.selection[0];
    var rectangles = textFrame.texts[0].rectangles;
    if (rectangles.length > 0) {
         for (var i=0; i < rectangles.length; i++) {
              rectangles[i].appliedObjectStyle = doc.objectStyles.item("Cover");
    However, there is a better approach:
    Step 1
    Create place holders for a single "Book" element and format it as needed -- apply an object style to the cover.
    Step 2
    Import the xml file -- the placeholders are replaced with data from the 1st xml element
    Step 3
    Drag & drop the element containing all "Books" elements into the main flow -- all elements are placed and formatted the same way as in step 1.
    Finally, add a new page, click the overset text icon and autoflow text to add pages so that to fit all the text.
    Hope this helps.
    Kasyan

  • I can't drag an images between not floating frames

    Hello i have the newe Elements 12.
    It was working perfectly, but after the last up-date there was a problem.
    Ican't drag images between not floating frames anymore. this was possible before the up-date.
    now the images can only be draged if one is a not floating frame and the other one is a floating frame.
    does some one know how i can change this?

    No fix. It's a bug introduced with the update. Using floating windows is the only work-around.
    Cheers,
    Neale
    Insanity is hereditary, you get it from your children
    If this post or another user's post resolves the original issue, please mark the posts as correct and/or helpful accordingly. This helps other users with similar trouble get answers to their questions quicker. Thanks.

  • Image refresh problem

    hi, i have an image inside an iframe that i'm trying to
    change upon the click of a button. i use the following code:
    <SCRIPT language="JavaScript" type="text/javascript">
    function swapImage(intImage){
    var
    imgs=["images/pic0.jpg","images/pic1.jpg","images/pic2.jpg","images/pic3.jpg","images/pic 4.jpg",
    "images/pic5.jpg"];
    parent.frames['cont'].document.getElementById('mgmnt_pic').src =
    imgs[intImage];
    alert(parent.frames['cont'].document.getElementById('mgmnt_pic').src)
    </SCRIPT>
    then in body:
    <p><a href="javascript:; "
    onclick="frames['cont'].swapImage(0);">Management
    Team</a></p>
    i know from the alert that it is changing the source of my
    image, the problem is that the image itself is not changing at all.
    has anyone experienced this before? what can i do to fix it?

    Hi,
    chk the link
    http://javascript.internet.com/miscellaneous/random-image.html
    shanthi

  • Firefox upon opening an image in a new tab, centers the image from top and bottom and surrounds the image with a grey frame. Just started having the problem today, searched Google to no avail.

    Firefox upon opening an image in a new tab, centers the image from top and bottom and surrounds the image with a grey frame. Just started having the problem today, searched Google to no avail.

    Oh wow, looks like a new feature.
    The "page" links in a stylesheet with the address "resource://gre/res/TopLevelImageDocument.css". If you remove that reference, then the image displays in the old style.
    '''''Edit: Please skip the rest of this post and check out the next one.'''''
    There might be a more elegant solution than that, but you could use a bookmarklet to strip out that link when you want to view the page in its old style. A bookmarklet is a snippet of JavaScript you save on the Bookmarks toolbar for quick access.
    First, copy the following code to the clipboard (it's all one long line):
    <br>javascript:var ssheet=document.querySelector('link[href="resource://gre/res/TopLevelImageDocument.css"]'); if(ssheet)ssheet.parentNode.removeChild(ssheet); void 0;
    Next, if you are not displaying the Bookmarks Toolbar, use View > Toolbars > Bookmarks Toolbar to display it. (If you aren't using the classic Menu bar, press Alt+v to call up the old View menu. Right-clicking the gray area just below the page address also allows you to display the Bookmarks Toolbar.)
    Right-click on the Bookmarks Toolbar (or Mac equivalent of right-click!) and choose New Bookmark.
    Paste the code into the Location box (the second box).
    Then type a useful name in the Name box (e.g., Oldstyle Picture) and click Add.
    Now, when you want to tweak the image display, click the button to run the script.
    Manual clicking is a hassle, so it might make sense to look into other solutions. (Greasemonkey didn't seem to work; I think it might not run on .jpg files.)

  • Question about an image in a text frame

    hi, everybody,<br />   i want to get the UIDRef to an image in a text frame and i used the codes below: <br /><br />UIDRef imageUIDRef = UIDRef(database, ownedList[i].fUID);;<br />                                                  InterfacePtr<IImageDataAccess> imageAccess(imageUIDRef, IID_IIMAGEDATAACCESS);<br /><br />(ownedList[i] is the list which contains the inline boss i want to get)<br /><br />here i always get an imageAccess  == nil, i think it is caused by the invalid imageUIDRef.<br /><br />can someone tell me how to resolve this??? or tell me another way to get the UIDRef to the image.<br /><br />Thanks a lot!!

    Oliver and Quake,
    during initial development, you frequently reach a method that just returns a UID, UIDList etc. That approach with IUnknown and debugclassutil is a way to determine the boss class of such a UID in clear text, for your further research.
    You would then go to the documentation (programming guide, API docs, samples) and find out about the typical use of this boss class. This mainly means you find the list of interfaces supported by the boss class.
    Open docs/references/sdkdocs/html/classIImageAttributes.html
    See at the bottom that this interface is on kImageItem and some strange others, but not on kInlineBoss.
    Open docs/references/sdkdocs/html/classkInlineBoss.html
    See it has an interface IHierarchy.
    If you do not find your desired interface on a boss class, that means you have to navigate to a different boss object.
    IHierarchy is an important interface for navigation in the page, because it implements the page item tree. So when the programming guide tells you to use IHierarchy to find an image from the inline boss, follow that path. On the other hand, it is just one interface of many, so you can't do that generalization that it fits all purposes. Even on the page tree you can encounter inlines, text on path that form a separate page item tree. To know the best path is called experience.
    In the release code you should not wire to specific ::GetClass values (as seen somewhere in this thread). Instead, you have an expectation of interfaces, and if an object supports them it is ok. Let's say I implement a new page item boss to support strange text flow or different image types. That page item will still have bounds. If you need bounds, find the appropriate interface and just use it. The same goes for attributes - if you deal with attributes in general and encounter a new attribute that supports the standard interfaces, just let it through.
    Oliver, I don't even know the boss class returned by IIDXMLElement->GetContentItem() for your specific purposes, but I would take the same approach. I use a plugin grown in the past 5 years that visits most interfaces and hooks into all notifications I ever encountered. This produces tons of output, but otherwise it is the same as with simple debugclassutil.
    An important issue is the preparation of test data. You just have to know that XML elements can point to many things in the InDesign universe, so tag a few tables, inlines, TOP, page items that use standoff and so forth, and see what you get. WYSIWYG at its best.
    Of course I could spend the whole day constructing examples, doing the analysis and copy-paste-post code. At least for me that is beyond the scope of the forum - maybe Adobe will some time replace Ken, otherwise there are the developer support cases. As I am not sponsored by paycheck, most of the time I try to keep my answers to short keywords or plain text - you will rarely see code from me. If you need that, there have been several postings on this list, and I am also available for consulting.
    Dirk

  • Why does the click-hold to reveal the image area outside the frame work on only some images?

    I just upgraded to ID CC 2014 and the click-hold function to reveal the image area outside the frame only works for some images. Any suggestions?
    Jim

    Thanks, Peter. That could be the problem--operator error. But, I did a restart and all seems fine. If I get another image with a display issue, I'll be back

  • In imovie 11, with an iMac, latest Mountain Lion, sometimes I insert a still and when I playback, the previous image freezes the last frame and holds during the duration I set for the still, skips both transitions, and jumps to the next clip. why?

    in imovie 11, with an iMac, latest Mountain Lion, sometimes I insert a still and when I playback, the previous image freezes the last frame and holds during the duration I set for the still, skips both transitions, and jumps to the next clip. why?

    in imovie 11, with an iMac, latest Mountain Lion, sometimes I insert a still and when I playback, the previous image freezes the last frame and holds during the duration I set for the still, skips both transitions, and jumps to the next clip. why?

  • How to get Image Coordinates in a Frame

    Hi,
    I want to retrieve Image Coordinates contained in a Frame.
    I am able to get the frame coordinates through IGeometry but not the images.
    Any help will be highly appreciated.
    Regards,
    Rahul Rastogi

    Hi
    SnpGraphicHelper in SDK provides code for getting IImageDataAccess for given Frame ref. Use GetUID to get uid of the image from IImageDataAccess, obtained above.
    Once you get UID, you should be able to get its geometry.
    Rajani

Maybe you are looking for

  • How do I find photos in hidden folders?

    I am trying to find photos where the automatically download.  The folder seems to be hidden.  How can I find it?

  • ThreadPoolExecutor with LinkedBlockingQueue doesn't work?

    I've tried creating a worker pool by using a LinkedBlockingQueue like so - new ThreadPoolExecutor(0, Integer.MAX_VALUE, 60L, TimeUnit.SECONDS, new LinkedBlockingQueue<Runnable>()). But none of my submitted jobs are getting executed. I don't even see

  • Support for 8-bit pseudocolor visuals on Solaris 10 u8 Virtualbox guest

    Hello, I am running Solaris 10 u8 x86 as a Virtualbox (3.0.8) guest on a WinXP host with a NVIDIA Quadro FX 3500 vcard. I use JDS for the Solaris guest, and only 24-bit truecolor visuals are available for the desktop. I desperately need to run Xnest

  • Compensation Planning/Approval

    Hi, We are implementing a Compensation Planning/Approval on ERP 2005. We need to customize the standard functionality as per our requirements. We need to remove some fields from standard view and add custom fields.We have created some custom infotype

  • MM help...?

    Hi all As i m going to attend the support based interview in SAP-MM module, can anybody give me some real time ISSUES with anwser.. Please explain me 4 to 5 issues with solution .. good replies wil be Highly rewardable. Many thanks sap-mm