Load images with some effects

Hi, I wanted to load java images with some effects like we have in power point like blinds or appear in Java swing when user clicks on the image.
I have these specific questions in mind:
1.Is there a way to do this in Java?
2.Also how will this behave when the image to load is huge like 25 Mega Pixel?
3.If we are dealing with large images being switched, what mechanism should be used for incorporating images in the application?
4. Can there be a provision of displaying an image over another one with the one on the top having some transparency?
Thanks,
Sandeep

Kayaman wrote:
835085 wrote:
how can this be done? do you have any pointers. i have played with swing earlier but did not know about the effects thingy.Well I didn't mean that you'd have ready made powerpoint-like effects (unless someone has created a library for that kind of stuff). I mean Java is a programming language, Powerpoint is a crime against nature.
You'd need to program those effects (or find a library that does).OK, i think i will have to try this out first.
The point is that i wanted to confirm to go with java or choose python.
I need to track user inputs and display really large images. Now the interaction is really on graphical side like have moving images in the application which are transparent. I know Java but havent played with images yet and was not sure whether it will be worth spending days on this and then switch to python.
>
well my scenario will be 2x2 matrix of screens. it will be a 25 MP screen. so wont this work now in this context?Sure, if you have the resolution.
i was thinking in terms of response time. any inputs?And I was answering in terms of response time. The Fullscreen API. Of course you'll need to keep all the images in memory (or at least a certain range if you want to show them fast enough).
4. Can there be a provision of displaying an image over another one with the one on the top having some transparency?Sure.any pointers?Well, Java does support transparency and alpha channel. But you'll need to go through the APIs to find ways to do those.
Is there a reason why you want to do this in Java?I mentioned that I have worked on swing before but was not sure to do it in a totally new prog. language like python.

Similar Messages

  • Why after ccleaner mozilla not load images in some websites. How fix it?

    Why after ccleaner mozilla not load images in some websites. How fix it?

    You can use these steps to block images from a specific domain:
    * Open the web page that has the images in a browser tab.
    * Click the website favicon ([[Site Identity Button]]) on the left end of the location bar.
    * Click the "More Information" button to open the "Page Info" window with the Security tab selected (also accessible via "Tools > Page Info").
    * Go to the <i>Media</i> tab of the "Tools > Page Info" window.
    * Select the first image link and scroll down through the list with the Down arrow key.
    * If you want to block images then place check-mark in the box "<i>Block Images from...</i>" to block the images from that domain.
    You can set the permissions for the domain in the current tab in Tools > Page Info > Permissions

  • How can I convert my music, and CDs to MP3, for use in my vehicle's AM/FM/ Stereo? I have a 16 GB SDHC Card, that I would like to load up with some of my music.

    How can I convert my music, and CDs to MP3, for use in my vehicle's AM/FM/ Stereo? I have a 16 GB SDHC Card, that I would like to load up with some of my music.
    Thanks for any help you can furnish.
    Ed

    Well, this question really belongs in the iTunes forum, which is where you will get fast answers.
    Just go to iTunes Preferences.  Click on the General icon.  Set When you insert a CD to Ask to Import CD.  Click on Import Settings.  Set Import to MP3 decoder.  Make sure you're using Good Quality.
    This should deal with your CD's.
    With your current music, as long as it does not have DRM restrictions (older iTunes Music did), select the song, right click on the song (or group of songs), pull down to Create MP3 version. 

  • Loading images with different horizontal sizes

    I would like to load images with different horizontal
    resolutions (vertical resolution to be the same) dymanically into
    an empty movie clip. I would like them to load with the right hand
    side of the image lined up with the right hand side of my site. I
    have seen many tutorials about how to accomplish the loading of the
    movies, but I cannot figure out how to make them open with the
    right hand side always lined up on the right.
    To be more specific, let's say I have three images of the
    varying pixel resolutions (1200x600, 800x600, and 400x600 for
    example). I would like the horizontal size to always extend away
    from the right hand side of the site with the right hand edge of
    the images always lined up.
    Is this possible to do by loading them into an empty movie
    clip?
    thanks

    When you load an image file into an empty movieClip, that
    clip takes on the dimensions of the loaded content. The
    registration point for the clip is set to the upper left corner.
    So, once the new image is loaded, just set that clip's .x to the
    stage width - the width of the clip.

  • Loading images with transitions

    Hi,
    trying to have slideshowish thing, loading images with transitions.
    I have this code for first image, what I need to load next images...?
    import fl.transitions.Tween;
    import fl.transitions.TweenEvent;
    import fl.transitions.easing.*;
    import flash.events.*;
    var curTween:Tween = new Tween(1_mc, "alpha", Strong.easeOut, 100, 0, 3, true);
    curTween.addEventListener(TweenEvent.MOTION_FINISH, fadeBackIn);
    function fadeBackIn(event:TweenEvent) {
         var nxtTween:Tween = new Tween(1_mc, "alpha", Strong.easeIn, 0, 100, 3, true);

    i'm not sure that makes sense.  you're fading out 1_mc and then fading it back in.
    normally you would fade out a previous image and fade in the next image.

  • Image with entrance effect

    Using Captivate 5.5, I've inserted an image on the slide that is wider than the slide itself. The right edge of the image lines up with the right edge of the slide. I want to add an effect to the image so that when the slide appears, the image appears immediately. Then the image moves from left to right until the left edge of the image lines up with the left edge of the slide. None of the white slide background should be showing at any time.
    I've tried various settings with the effects, but each time, some of the white slide background shows at the beginning and/or end of the effect, so that the image is not covering the whole slide.
    Can anyone help me?

    Hi Jay,
    Just tried it out and cannot get your issue
    I inserted an image, set it to No transition in the Properties panel (did you do that?), aligned it to the right of the stage and added the effect LeftToRight. Then I changed the motion path so that at the end the image was aligned with the left border of the stage, extended the effect till the end of the slide. This seemed to work as expected, I never did see the background when previewing in Browser or from this slide. I did not publish.
    Lilybiri
    PS sometimes I set the effect not to start when the image appears but 0,1sec later.

  • Loading Images with 1.3.1 Problem

    Hi!
    I've got a couple of swing applets that use Images. One uses the images for icons and one just draws the images. The images are loaded from jar files. Using version 1.3.0, everything works fine. When I load the applet using 1.3.1 or 1.4, however, the images do not appear on the screen. According to the Java Console, the images did load. I saw messages like:
    Loaded image: jar:file:/C:/rgajava/MKSLeak/jar/leak.htmlMKSLeak.jar!/images/audiooff.gif
    Loaded image: jar:file:/C:/rgajava/MKSLeak/jar/leak.htmlMKSLeak.jar!/images/audioon.gif
    that were displayed when I upped the trace level. The images still do not appear.
    Does anyone know how to fix this? I am loading the images using getImage(URL,String).
    Thanks,
    Derek

    As a partial answer to my own question, the Java tutorial declares that some browsers cannot load images from jar files. This appears to be the case with IE5.5 and Java 1.3.1, but it is strange that IE5.5 and Java 1.3.0 seem to have no problem. Nevertheless, the applet works well and images load if the images are accessed outside of the jar file.
    Derek

  • Image with a Effect flicker

    How I can create a Image with Effect flicker
    Thanks

    The nearest behaviour I can think of that you can achieve
    inside RH is with the Rock n Roll DHTML effect. You can try adding
    this and playing settings to see if this will give you what you
    want. If it doesn't I suspect the answer will be to use something
    outside of RH to produce the required effect and then import
    it.

  • Rotating Image with Fade Effect

    Ok looking to rotate an image with a fade effect; below is a rotating image code.
    (Wanting this effect to be transitional and smooth. Transparency? Opacity?)
    <script language="JavaScript">
    <!--
    function adArray() {
    for (i=0; i*2<adArray.arguments.length; i++) {
    this[i] = new Object();
    this[i].src = adArray.arguments[i*2];
    this[i].href = adArray.arguments[i*2+1];
    this.length = i;
    function getAdNum() {
    dat = new Date();
    dat = (dat.getTime()+"").charAt(8);
    if (dat.length == 1)
    ad_num = dat%ads.length;
    else
    ad_num = 0;
    return ad_num;
    var ads = new adArray(
    "img1.jpg","http://www.domain.com",
    "img2.jpg","http://www.domain.com",
    "img3.jpg","http://www.domain.com");
    var ad_num = getAdNum();
    document.write('<div align="center"><A HREF="'+ads[ad_num].href+'" target="_blank"><IMG SRC="'+ads[ad_num].src+'" '
    +'BORDER=0 name=js_ad></A></div>');
    link_num = document.links.length-1;
    function rotateSponsor() {
    if (document.images) {
    ad_num = (ad_num+1)%ads.length;
    document.js_ad.src = ads[ad_num].src;
    document.links[link_num].href = ads[ad_num].href;
    setTimeout("rotateSponsor()",4000);
    setTimeout("rotateSponsor()",4000);
    // -->
    </script>
    Any ideas?

    Here is the script I finally got working! It would have not came to me without your help guys!
    <script>
    var pictureWebPartName="Pictures"; // name of the picture library web part
    var showThumbnails = true; //otherwise show full sized images
    var randomImg = true; //set to true to show in random order
    var useCustomLinks = false; //true to use second column as URL for picture clicks
    var RotatingPicturesLoopTime = 5000; //2000 = 2 seconds
    var imgToImgTransition = 1.0; //2 = 2 seconds
    // don't change these
    var selectedImg = 0;
    var imgCache = [];
    var imgTag;
    function RotatingPictures()
    imgTag = document.getElementById("RotatingImage");
    //Find the picture web part and hide it
    var Imgs = [];
    var x = document.getElementsByTagName("TD"); // find all of the table cells
    var LinkList;
    var i=0;
    for (i=0;i<x.length;i++)
    if (x[i].title == pictureWebPartName)
    // tables in tables in tables... ah SharePoint!
    LinkList = x[i].parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode;
    // hide the links list web part
    LinkList.style.display="none";
    break;
    if (!LinkList)
    document.all("RotatingImageMsg").innerHTML="Web Part '" + pictureWebPartName + "' not found!";
    //Copy all of the links from the web part to our array
    var links = LinkList.getElementsByTagName("TR") // find all of the rows
    var url;
    var len;
    for (i=0;i<links.length;i++)
    //if (links(i).id.match("row")!=null)
    if (links[i].childNodes[0].className=="ms-vb2")
    len=Imgs.length
    Imgs[len]=[]
    Imgs[len][0] = links[i].childNodes[0].childNodes[0].href;
    if (useCustomLinks)
    if (links[i].childNodes[1].childNodes.length>0)
    { Imgs[len][1] = links[i].childNodes[1].childNodes[0].href; }
    else
    { Imgs[len][1] = "" }
    if (Imgs.length==0)
    document.all("RotatingImageMsg").innerHTML="No images found in web part '" + pictureWebPartName + "'!";
    for (i = 0; i < Imgs.length; i++)
    imgCache[i] = new Image();
    imgCache[i].src = Imgs[i][0];
    if (useCustomLinks)
    imgCache[i].customlink=Imgs[i][1];
    RotatingPicturesLoop();
    // now show the pictures...
    function RotatingPicturesLoop()
    if (randomImg)
    selectedImg=Math.floor(Math.random()*imgCache.length);
    if (document.all){
    imgTag.style.filter="blendTrans(duration=" + imgToImgTransition + ")";
    imgTag.filters.blendTrans.Apply();
    url=imgCache[selectedImg].src
    if (useCustomLinks)
    { RotatingImageLnk.href=imgCache[selectedImg].customlink; }
    else
    { RotatingImageLnk.href = url; }
    if (showThumbnails)
    // convert URLs to point to the thumbnails...
    // from airshow%20pictures/helicopter.jpg
    // to airshow%20pictures/_t/helicopter_jpg.jpg
    url = revString(url);
    c = url.indexOf(".");
    url = url.substring(0,c) + "_" + url.substring(c+1,url.length);
    c = url.indexOf("/");
    url = url.substring(0,c) + "/t_" + url.substring(c,url.length);
    url = revString(url) + ".jpg";
    imgTag.src = url;
    if (document.all){
    imgTag.filters.blendTrans.Play();
    selectedImg += 1;
    if (selectedImg > (imgCache.length-1)) selectedImg=0;
    setTimeout(RotatingPicturesLoop, RotatingPicturesLoopTime);
    // utility function revString found here:
    // http://www.java2s.com/Code/JavaScript/Language-Basics/PlayingwithStrings.htm
    function revString(str) {
    var retStr = "";
    for (i=str.length - 1 ; i > - 1 ; i--){
    retStr += str.substr(i,1);
    return retStr;
    // add our function to the SharePoint OnLoad event
    _spBodyOnLoadFunctionNames.push("RotatingPictures");
    </script>
    <!-- add your own formatting here... -->
    <center>
    <table border="0" cellpadding="0" cellspacing="0">
    <tr>
    <td id="VU" height="125" width="160" align="center" valign="middle">
    <a name="RotatingImageLnk" id="RotatingImageLnk" alt="click for larger picture">
    <img src="/_layouts/images/dot.gif" name="RotatingImage" id="RotatingImage" border=0>
    </a>
    <span name="RotatingImageMsg" id="RotatingImageMsg"></span>
    </td>
    </tr>
    </table>
    </center>
    Thanks again guys!

  • Apple Mail - Load images for some email addresses automatically

    Is it possible in Apple Mail to put some email addresses on a white list so that the images within their emails always load?
    I don't want all images to load for every email I get, but I find it an annoyance to have to often load images from contacts I already trust.

    AppleScript to the rescue!  Thank you Linc Davis!!!
    Still find it strange Apple doesn't have this built into the Mail interface as an option and have to run a script [grumble].

  • Loading images with properties in Forms6

    Hello !
    I would like to use Mmix32.ocx with Forms6 to have properties and
    methods of loaded images !
    But I don't know how , cause I imported Ole library interfaces MMix control without results !
    I need an exemple !
    thanks !

    Me too !
    I would like to use Mmix32.ocx with Forms6 to have properties of images !
    I imported Ole library interfaces MMix control !
    I have an error:
    FRM-41344:ole object not defined for <item name> in current record !

  • Loading image with loadMovie

    I am loading an image to a movie clip (name container) using
    loadMovie but when the image loads the movie clip is resized to the
    size of the loaded image, is there a way to prevent that from
    happening? I want the movie clip to retain its original size.
    Thank you for your help,

    Loaded images or swf's only inherit position, rotation and
    scale. They load
    at their original size though. If you want to resize them to
    fit a
    particular area, you'll need to do that with AS. First you
    will need to stop
    using loadMovie and use the MovieClipLoader class instead.
    You should be
    using it anyway, it's better.
    Simple example that loads an image from my C: drive into a
    clip named 'hold'
    var myLoader = new MovieClipLoader();
    var lis = new Object();
    lis.onLoadInit = function(targ:MovieClip){
    targ._width = 83;
    targ._height = 119;
    myLoader.addListener(lis);
    myLoader.loadClip("c:/dm_phillips_2005.jpg", hold);
    Dave -
    Head Developer
    http://www.blurredistinction.com
    Adobe Community Expert
    http://www.adobe.com/communities/experts/

  • Help!  Ideas for displaying ~100-300 still images with After Effects / Premiere Pro

    Hi, I am a cadet at a US Air Force detachment and am responsible for making this semester's end of the year video.
    I have the Adobe creative cloud and am familiar with the basics of Photoshop, and Premiere Pro, and I am trying to also learn After Effects.  I have a large amount of picture and video, and am at a loss for how to quickly make all these pictures into an interesting slideshow.  Software such as Cyberlink Powerdirector had a "photo grid" which would allow me to create an automatic slideshow of images on a 3x3 grid, where each image flashed into place one at a time.  I am looking for automated processes or tutorials to feed my images into and have a modern effect of displaying the images.
    If anyone has any idea for a template or where to start on handling a large amount of still images in After Effects or Premiere Pro, I could definitely use a point in the right direction!
    Exactly what I want can be found at 5:27 of this video: https://www.facebook.com/photo.php?v=10150247563700519&set=vb.120583801339638&type=2&theat er

    read below
    -http://helpx.adobe.com/premiere-pro/kb/error---preludevideo-play-modules.html
    -http://forums.adobe.com/thread/1001579
    -Use BIOS http://forums.adobe.com/thread/1019004?tstart=0
    -link to why http://forums.adobe.com/message/4685328
    -http://www.anandtech.com/show/4839/mobile-gpu-faceoff-amd-dynamic-switchable-graphics-vs-n vidia-optimus-technology/2

  • Need help Loading images with selection on a form field?

    So I'm kind of a newb.. I can do basic forms but I need to set up a form field drop down box that will give me the ability to load images correlating to the users choice. I'm at a total loss for where to start, so ANY help would be appreciated. If you know of any good books or tutorials on the subject please share.
    Thanks in advance
    Sincerely,
    Stumped4now 

    P.S. I think I'm getting a better understanding of OCGs after lots of research today. However I still seem to be missing something
    var docOCGs = this.getOCGs();
    for (var x=0; x < docOCGs.length; x++)
      if(docOCGs[x].name == "Layer1")
      docOCGs[x].state = !docOCGs[x].state;

  • Tomcat not loading images with mod_jk

    I have images stored in a database which when retrieved have the extension .tmp when I view these images using tomcat they are recognised as being jpeg or bmp files etc. and are displayed as images.
    When the same images are viewed using tomcat through apache using the mod_jk module, the images appear as text.
    If I try viewing the same images in apache on its own they appear fine. To repeat this, take a jpeg file and change its extension to .tmp place the file in a tomcat application, lookat the image using tomcat on its own //localhost:8080/myapp/myimage.tmp it appears fine, look at it using apache using mod_jk //localhost/myapp/myimage.tmp and it appears as text. Has anyone got any clue as to how to fix this.
    I am using apache 2.0 with mod_jk 1.2.15 and jakarta-tomcat-5.0.28
    Any help would be most appreciated, mod_jk drives me mad!!!. Thanks Mike.

    webmail which i access through safari on my imac and ipad. For the last couple of days images have stopped loading with all my emails
    Try emptying the cache on your iMac and iPad.
    One the iMac with Safari open, press Command + Option + E on the keyboard. Quit and relaunch Safari to test.
    On the iPad. Tap Settings > Safari. Tap Clear History then tap Clear Cookies and Data. Restart your iPad.

Maybe you are looking for