Free-rotation of an image

Hi there,
I've done some research and it seems like there isn't a way to freely rotate an image anything other than 90 degrees in MIDP 1.0. I am however using MIDP 2.0, CLDC 1.1. Is there a way that I can rotate an Image object to specific angles?
Thanks in advance,
Ragaeeb

Hi Magdel, thank you for your reply. Which class in the J2ME API handles the Matrix transformations?
Thanks in advance,
Ragaeeb

Similar Messages

  • Custom rotate and free rotate

    I have a new PC that came with Adobe Photoshop,  Everything works except for the Custom Rotate and Free Rotate functions; these are disabled.  How do I get them to work?

    Thanks, Barbara.   I didn't realize there are three modes; now I've got it.
    Date: Fri, 9 Aug 2013 12:41:05 -0700
    From: [email protected]
    To: [email protected]
    Subject: custom rotate and free rotate
        Re: custom rotate and free rotate
        created by Barbara B. in Photoshop Elements - View the full discussion
    Are you in Expert mode?
         Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at http://forums.adobe.com/message/5581642#5581642
         Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/5581642#5581642
         To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/5581642#5581642. In the Actions box on the right, click the Stop Email Notifications link.
         Start a new discussion in Photoshop Elements by email or at Adobe Community
      For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.

  • How to rotate a thumbnail image in Finder?

    Is there a way to rotate a thumbnail image in Finder? When I click a photo in a Finder folder, the image automatically opens in Preview and the image is correctly displayed right side up. But the thumbnail image is displaying a vertical photo horizontally. Can I rotate the thumbnail?

    corelle,
    please open the sidebar of the Preview window and check how the thumbnail is displayed there.
    If the orientation is wrong in the Preview sidebar as well, then apparently some program rotated the image but not the EXIF preview image, which is obviously not a good thing.
    If the orientation is correct in the Preview sidebar, but wrong in the Finder, then the file probably has a custom icon with wrong orientation. This should then be removed rather than rotated. It's useless anyhow because Snow Leopard's Finder can better use the EXIF preview image instead.

  • Not Enough Free Space on NetBoot Image Partition

    Since the NetBoot server isn't all that popular, I'm going to explain how it works a bit before I get into my problem.
    I assume everyone knows how it works on the client end. You choose an image and your Mac boots that image over the network. Quick, easy, painless. It's a cool system. So on the server/admin side…
    Every version of OS X Server comes with it's own System Imaging Utility. So lets say you want to make a netboot image with some utilities on it. So you take an external hard drive. Make two partitions on it. On one partition, you set it up to be the netboot image. So you install all of the utilities you want installed. You configure all of the preferences just the way you want them. Set your background image, etc, etc. On the other image, you just do a quick clean plain installation of your OS. And you also install your OS X Server Admin tools (or in case of 10.8, the Server app). So once your image-to-be is configured, you boot the second partition, and run the imaging utility. This utility will turn your volume into a netboot image. A netboot image is basically just a folder with some .plists in it, a read-only disk image of your initial volume, and a kernel or two (10.5).
    NetBoot images are read-only. So when you boot them, you can make as many changes as you want. But once you shut down, all changes are lost. Every time any mac boots a netboot image, it is booting the image exactly as it was when you made it. The changes you make are stored in shadow files on the server that you can periodically toss, since they are only used during the current active session. Once you reboot, the shadow files are useless.
    So here is the problem: When you make a netboot image from a real volume, the utility only leaves a small amount of free space on the volume. Even though the disk image is read only, the amount of free space matters because that's still all you get to use. In other words, if the .dmg file in the netboot image i just made only has 900 MB of free space in the volume, then that's all I get for free space on any machine I boot off that image. Even though the image is read only, and all of the "free space" is actually being stored as shadow files on the server, that limit is still applied. And 900 MB is not very much free space. So you can boot a utilities volume and if a program eats up a lot of ram, that virtual memory can eat up what little free HD space you have, and suddenly your netboot image is not very functional.
    Now being the clever fellow that I am, I came up with a solution to this problem last time around. I used the following command to resize the partition (and only the partition) of the .dmg file, inside the netboot image (netboot images are just folders).
    hdiutil resize -size 60g -partitiononly NetBoot.dmg
    This resized the volumes to 60 GB. But it was all blank space, so the .dmg file's size did not change. It would just mount as a read only volume with 40 GB of free space instead of a few hundred MB. This little trick worked very well. But it's not working any more. I can't figure out why. But every time I try to run this command on the .dmg file, I get an error very similar to the following:
    hdiutil: resize request 125829120 is above maximum size 18005952 allowed.
    hdiutil: resize: failed. Invalid argument (22)
    I get this error while running 10.8, 10.7, or 10.6. I get this error whether I'm trying to resize an image containing 10.8, 10.7, 10.6, 10.5, 10.4 or 10.3. I get this error whether I convert the image to a read/write image first, or even a spare image first. I get this error whether the original hard drive that volumes were on, is partitioned as APM or GUID.
    The "maximum size" listed in the error message is different for each image I try to resize. It's as if the tool is trying to fit the increase volume inside the existing free space of the image's volume. Which isn't what I'm trying to do at all.
    I've been using netboot images filled with utilities for years now. And overall it works very very well. I started back when the first macbooks came out with no firewire. I quickly realized I needed a better solution than booting my Mac into firewire mode to repair other Macs. And then when I got into it, I realized I could host images of all different OS versions. So now I can plug my MBP into a client's network, and boot any Mac they have off of a utility volume of any version of Mac OS X needed, all the way down to 10.3, all at the same time. And I also have NetInstall volumes too that let me install OS X for all these versions as well. The only real quirk I've had over the years, is this 'free' space issue. In the past (before the last time I updated my images, where I used the command above to resize the partitions and solve the problem), what I've done when I've ran into a HD pinch while working, is to immediately start deleting apps I don't think I'm going to need, right off the netbooted Mac. This frees up space on the netboot volume and the system is happy. And again it's all read only, so I'm not actually making changes to the image itself. One real half assed solution I thought of was to set up all of my netboot volumes as having a 1 GB file in their trash and not emptying it before creating a netboot image from the volume. Then when this problem came up and the OS was running out of disk space, I could just empty the trash. I'm quite sure this little trick would have worked, but it's so half-assed. I'd much rather just have more free space on the mounted disk images.

    But how did my command work so perfectly last time? Here's an image. On the left, the info window of the disk image inside my 10.7 Utilities netboot image. On the right, the info window for that disk image's mounted volume. The file is only 7 GB and the volume is a 30 GB volume with ~23 GB free. None of the free space of the volume is using up any actual disk space in the .dmg file. I did this once, there's got to be a way to reproduce this again?
    Here's the same thing with my 10.6 Utilities netboot image. Also in case I'm not being clear, these netboot images these screen shots are of, are from the last time I updated my netboot images ~11 months ago. These are not my current batch that I'm trying to finalize.

  • Animation in illustrator cs4: pan & rotate across large image while animating text?

    Hi there -
    I have a fairly large circular starmap image - it's a fantasy piece simulating an ancient painted star map with stars, ancient constellation figures, and calligraphic text. Basically a bitmap background from PShop, vector layers with stars, constellations and text. I want to export from Illustrator to Flash a number of short 'movies' of different views of this artwork panning from one point to another with possible zoom and rotation around the image as it pans. I also want to animate one or more of the constellation shapes as the movie pans, as well as adding momentary effects to some of the text.
    I'm familiar with setting up a non-panning animation in illustrator using layers as animation 'cells' and exporting to Flash. But is it possible to do this while moving across a large piece of artwork? How can I capture and export a specific 'view' which moves across the larger image and/or zooms in or out, while also animating a shape or text glow for example? Would this be accomplished with a mask set to the aspect ratio of the final movie which is moved/resized/rotated from layer to layer?
    Is this even possible in Illustrator CS4? I'm not familiar with Premier or AE, hoping to stay within Illy and Flash.
    Thanks!

    Thanks Monica,
    After researching, it looks like Sony Vegas can be used to create a freeflowing video 'fly-over' of the artwork. And then at specific points I can import and animate the Illustrator vector pieces with After Effects - just a 'bit' of a learning curve now...

  • Controlled rotation of an image

    Hello all
    Is there any way in FCP to control the rotation of an image.
    The project I'm currently working on requires me to rotate a photoshop image continuously. The image is of a pattern that has a hole cut out in the middle. The hole will allow the layers under need it to show through.
    I need the graphic to spin at about 1 turn every 2 seconds throughout the duration of the movie.
    Does anyone know of a simple method of doing this or do I need to start buying filters.
    I look forward to hearing from someone soon.

    This is easily achieved in the Motion tab on the Viewer window.... simply add a key frame at your start point, move the playhead forward to however many seconds the clip last, then enter a value of X x 360 (where X is the number of seconds the clip last, divided by 2), and a key frame will add automatically.
    ie - your graphic clip last 10 seconds
    put the playhead at the start and add a keyframe on 'Rotation' (in the Motion tab)
    move the playhead forward to the end (10 seconds)
    10 divided by 2 is 5, 5 x 360 =1800
    put 1800 as a value in the Rotation setting.
    job done.

  • Size and rotate a background image

    I would like to have a background image that rotates different images when the page is refreshed and sizes with my page. I believe I have a handle on the sizing part but I can't figure out how to make the images rotate. I would like the images to go in a particular order instead of random if that's possible.
    This is what I have so far:
    <head>
    <title>Stretched Background Image</title>
    <style type="text/css">
    /* Remove margins from the 'html' and 'body' tags, and ensure the page takes up full screen height */
    html, body {height:100%; margin:0; padding:0;}
    /* Set the position and dimensions of the background image. */
    #page-background {position:fixed; top:0; left:0; width:100%;;}
    /* Specify the position and layering for the content that needs to appear in front of the background image. Must have a higher z-index value than the background image. Also add some padding to compensate for removing the margin from the 'html' and 'body' tags. */
    #navbar {position:relative; z-index:1; padding:10px;}
    #content {position:relative; z-index:2; padding:10px;}
    </style>
    <!-- The above code doesn't work in Internet Explorer 6. To address this, we use a conditional comment to specify an alternative style sheet for IE 6 -->
    <!--[if IE 6]>
    <style type="text/css">
    html {overflow-y:hidden;}
    body {overflow-y:auto;}
    #page-background {position:absolute; z-index:-1;}
    #content {position:static;padding:10px;}
    </style>
    <![endif]-->
    </head>
    <body>
    <div id="page-background"><img src="stretchPix2.jpg" width="100%" alt="Smile"></div>
    <div id="navbar">
    <h2><img src="TestNavArt.gif" width="900" height="30"></h2>
    </div>
    <div id="content"><font color="#FFFFFF"> more test here?</font></div>
    </body>
    </html>
    If anyone can give me some insight into making the background image rotate I would greatly appreciate it.
    Thanks,
    Dave

    Hi
    The only reliable way to rotate a background image is using css3 but as this feature is only implemented in 1 browser, (and that is in beta)? There are a few javascript frameworks that claim to do this, but in testing I have not found one that is even 50% reliable.
    PZ

  • Rotate a circular image

    I would like to be able to display a circular image, which can then be rotated. The image is typically of a valve for controlling the flow of liquid. I need to be able to display its current position between 0 and 359 degrees with respect to its input/output ports. As most images are rectangular, can a image be laid onto a circular tool such as a dial so as to only display the circular section. I understand it is possible to rotate tools. I am currently using LabView 8.5.
    Has anyone any experience of rotating images or masking an image for a circular representation?

    Ben wrote:
    Rather than deal with the tedious work of masking around the circle I suggest you place a decoration with a transparent center region over the rotated image and just let the region of interest show through.
    It's not very tedious.  Simply check for the radius and substitute the background color if a pixel is outside the circle.
    Here's a very rough draft modification of my old VI. Modify as needed.
    Message Edited by altenbach on 06-03-2008 06:45 AM
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    rotateCircularMask.png ‏150 KB

  • Rotate a bob image

    hi,
    I need to rotate a blob image and place it on a JLabel. can anyone help me to do that. it is really urgent
    thx in advance

    Don't multi post! One thread is enough! Locked. I'll delete this later.

  • Scale and rotate a tiff image

    How do you scale and rotate a tiff image without running out of memory?
    I have been trying to scale the image and rotate it before i pass it to the DisplayJAI but i keep running out of memory.
    code i use to rotate the image.
    private Image rotateImage(boolean rotateRight)
    Image img = imageHolder.getInUseImageIcon().getImage();
    Image rot = null;
    int imageWidth = imageHolder.getInUseImageIcon().getIconWidth();
    int imageHeight = imageHolder.getInUseImageIcon().getIconHeight();
    int buffer[] = new int[imageWidth * imageHeight];
    int rotate[] = new int[imageWidth * imageHeight];
    try
    MediaTracker tracker = new MediaTracker (this);
    tracker.addImage (img, 0);
    tracker.waitForAll();
    PixelGrabber grabber = new PixelGrabber(img, 0, 0, imageWidth, imageHeight, buffer, 0, imageWidth);
    try {
    grabber.grabPixels();
    catch(InterruptedException e) {
    e.printStackTrace();
    if(rotateRight)
    for(int x = 0; x < imageWidth; x++)
    for(int y = 0; y < imageHeight; y++)
    rotate[(x*imageHeight)+y] = buffer[((imageHeight-y-1)*imageWidth)+x];
    else
    for(int y = 0; y < imageHeight; y++)
    for(int x = 0; x < imageWidth; x++)
    buffer[(y*imageWidth)+x] = rotate[((imageWidth-x-1)*imageHeight)+y];
    for(int y = 0; y < imageHeight; y++)
    for(int x = 0; x < imageWidth; x++)
    rotate[((imageWidth-x-1)*imageHeight)+y] = buffer[(y*imageWidth)+x];
    rot = createImage(new MemoryImageSource(imageHeight, imageWidth, rotate, 0, imageHeight));
    catch (Exception e)
    e.printStackTrace();
    return rot;
    this is the code i use to scaled the image.
    Image scaled = originalImage.getImage().getScaledInstance(
    (int)(currentWidth * 1.5),
    (int)(currentHeight * 1.5),
    Image.SCALE_FAST);
    I tried this method, it works and does what i want but the scrolling and loading is too slow.
    public void paintComponent(Graphics g)
    Graphics2D g2D = (Graphics2D)g;
    g2D.rotate(Math.PI/2, (int)dimension.getWidth()/2, (int)dimension.getHeight()/2);
    g2D.drawImage(image, 0,0,(int)dimension.getWidth(), (int)dimension.getHeight(), this);
    Help plss.

    Nvm got the answer :)

  • Flip and rotation on an Image

    Hello,
    I would like to perform flip and +/-90� rotation on an image but after a rotation, the flip is performed in the wrong direction my code looks like this :
    /*axis at the center of image*/
    g2D.translate(width/2,height/2);
    g2D.scale(-1,1);
    g2D.rotate(Math.PI);
    /*image orientation correction*/   
    g2D.scale(1,-1);
    /*rotation and flip*/     
    g2D.rotate(flipHorizontal*flipVectical*Math.toRadians(angle));
    g2D.scale(flipHorizontal,flipVectical); //1 or -1
    /* drawing the image */   
    g2D.drawImage(imageToDraw, centreToX,centreToY, null);
    // than positioning the axis back to origine I've tried to say that if the image as already been rotated then invert the flips, but in that case, after one flip the rotation is performed in the wrong direction...
    Does anybody know how to solve this problem???
    Thank you in advance.

    i have to rotate, flip & scale an image , but it get misplaced when rotated on 90 and -90 please help me public void putImage_buffer(String s,int x,int y,int width,int height,double rotation,int xScale,int yScale,boolean hFlip,boolean vFlip) {
              int Rwidth=width;
              int Rheight=height;
                    try{
    ImageInputStream imageInput = ImageIO.createImageInputStream(new FileInputStream(filename));
                it = ImageIO.getImageReaders(imageInput);
                reader = (ImageReader) it.next();
                reader.setInput(imageInput);
                objBufimage=reader.read(0);
    }catch(Exception e){System.out.println(e);}
              System.out.println("width : height! ratation"+width+" : "+height+"  : "+rotation);
            if(width==0&&height==0){
                offscreen.drawImage(objBufimage,0,0, null);      
             else{
                   if(!(vFlip||hFlip)){
                        if(rotation==90)
                             Rwidth=height;
                             Rheight=width;
                             System.out.println("!(vFlip||hFlip) 90");
                        if(rotation==-90 )
                             rotation=270;
                             System.out.println(" -90 !(vFlip||hFlip");
                             Rwidth=height;
                             Rheight=width;
                   if(vFlip )
                        if(rotation==90)
                             hFlip=!hFlip;
                             vFlip=!vFlip;
                             //Rwidth=height;
                             //Rheight=width;
                             System.out.println("width : height 90 vFlip");
                        if(rotation==-90)
                             hFlip=!hFlip;
                             vFlip=!vFlip;
                             //Rwidth=height;
                             //Rheight=width;
                             rotation = 270;
                             System.out.println("width : height -90 vFlip");
                        if(rotation==180)
                             System.out.println("width : height 180 vFlip");
                   else if(hFlip )
                        if(rotation==90)
                             hFlip=!hFlip;
                             vFlip=!vFlip;
                             System.out.println("width : height 90 hFlip");
                             //Rwidth=height;
                             //Rheight=width;
                        if(rotation==-90)
                        {     rotation=270;
                             hFlip=!hFlip;
                             vFlip=!vFlip;
                             Rwidth=height;
                             Rheight=width;
                        if(rotation==180)
                             System.out.println("width : height 180 hFlip");
                   if(vFlip && hFlip)
                        if(rotation==90)
                             System.out.println("width : height 180 hFlip&&vFlip 90");
                        if(rotation==-90)
                             rotation=270;
                             System.out.println("width : height 180 hFlip&&vFlip -90");
                AffineTransform tx = new AffineTransform();
                AffineTransform origTransform = offscreen.getTransform();
                   System.out.println("hFlip:vFlip Math.PI "+hFlip+" : "+vFlip);
                   rotation=rotation*(hFlip?-1:1)*(vFlip?-1:1);
                   rotation = Math.toRadians( rotation );
                   AffineTransform rotate=AffineTransform.getRotateInstance(rotation, Rwidth/2d, Rheight/2d);
                   AffineTransform moveToImageCenter=AffineTransform.getTranslateInstance(Rwidth/2d, Rheight/2d);
                   moveToImageCenter.concatenate(AffineTransform.getScaleInstance(hFlip?-1:1,vFlip?-1:1));
                   moveToImageCenter.concatenate(AffineTransform.getTranslateInstance(Rwidth/-2d, Rheight/-2d));
                   AffineTransform flip=moveToImageCenter;
                   AffineTransform transformer = AffineTransform.getTranslateInstance(x,y);
                   offscreen.setTransform(transformer);
                                  offscreen.transform(rotate);
                   offscreen.transform(flip);
                   offscreen.drawImage(objBufimage,0,0,Rheight,Rwidth,null);
                   //offscreen.drawImage(objBufimage.getScaledInstance(width,height,objBufimage.SCALE_DEFAULT),0,0,width,height, null);
                   offscreen.setTransform( origTransform );
         }i get vFlip if hFlip+90or-90 and i get hFlip if vflip +90-90 means if actual flipping is vflip+90/-90 my method parameter gets hFlip +/-90 thats by i'm changing values

  • Why rotated rectangle tool can't draw rotated ROI on image?

    I want to use the tool window to draw a rotated rectangle on image, but each time, it seems only draw a rectangle, it can't rotate. Don't know why?
    In Vision Assitant, if I use rotated rectangle tool, it will show like this:
    Using the cross lines in rectangle, I can rotate my ROI, it is OK.
    Run the sample code: C:\Users\Public\Documents\National Instruments\CVI\samples\Vision\2. Functions\Geometric Matching, change     imaqShowToolWindow (FALSE);
    to  imaqShowToolWindow (TRUE); 
    on line 93#. Compile then run. Seems I also can't rotate my ROI, don't know why?
    Please show me? Thank you. 

    Hi,
    You cannot perform action on an overlay. In order to achieve what you want to do, I suggest you to use the ROI property in an image property node. Then just pass your ROI coordinates, the ROI will be updated automatically whenever your coordinates changes. You can drag a ROI this is impossible with an overlay.
    Regards

  • Rotating Linked Km Images

    Hi guru's,
    I want to implement image rotation functionality in Enterprise portal
    Note : Images are stored in KM Repository, on click of each image, it should take to different URL .
    Thanks in advance
    Regards
    Sadik

    Hi Sadik,
    Here's some code that I wrote a whiles ago, perhaps it'll help you.
    import java.util.Enumeration;
    import java.util.Vector;
    import com.sapportals.htmlb.Form;
    import com.sapportals.htmlb.page.DynPage;
    import com.sapportals.htmlb.page.PageException;
    import com.sapportals.portal.htmlb.page.PageProcessorComponent;
    import com.sapportals.portal.prt.component.IPortalComponentProfile;
    import com.sapportals.portal.prt.component.IPortalComponentRequest;
    * Created on 20/06/2005
    * Re-usable iView for displaying rotating graphical icons as links.
    * Images are displayed one at a time and fade into each other.
    * Uses iView parameters to allow the portal content admin to define the images,
    *  links and tooltips at iView creation time.
    * I've decided to allow a maximum of 12 icon/links, this can easily be updated at
    *  any time if required. Just make sure that the value of the constant 'maxIcons' is
    *  equal to the number of parameter sets you have in portalapp.xml
    * The parameter set for each icon/link should consist of the icon, link and tooltip
    *  parameters for that icon/link.
    public class RotatingIconLinks_Parameters extends PageProcessorComponent{
         public DynPage getPage(){
              return new IconLinksDynPage();
         }// End Constructor
         public class IconLinksDynPage extends DynPage{
              private static final int maxIcons = 12;
              private String icon = "";
              private String link = "";
              private String tooltip = "";
              private Vector iconLinks = new Vector();
              private IconInfo myIcon;
               * Initialization code.
               * We read all of the iView properties related to the icon/links and build
               *  a Vector containing this data for each icon/link.
              public void doInitialization(){
                   IPortalComponentRequest req = (IPortalComponentRequest)this.getRequest();
                   IPortalComponentProfile profile = req.getComponentContext().getProfile();
                   for(int i=1; i<=maxIcons; i++){
                        icon = profile.getProperty("Icon "+i);
                        link = profile.getProperty("Link "+i);
                        if(icon!=null && icon.length()>0 && link!=null && link.length()>0){
                             myIcon = new IconInfo(icon, link, profile.getProperty("Tooltip "+i));
                             iconLinks.add(myIcon);
              }// End Method doInitialization
               * Input handling code.
              public void doProcessAfterInput() throws PageException{
              }// End Method doProcessAfterInput
               * Create output. Called once per request.
              public void doProcessBeforeOutput() throws PageException{
                   Form myForm = this.getForm();
                   myForm.addRawText("" +
                        "<script language="javascript">" +
                             "var curr_item_index = -1;" +
                             "function HandleTimeout( ){" +
                                  "if (curr_item_index != -1 ){" +
                                       "document.all["item" + curr_item_index].style.display = "none";" +
                                  "}" +
                                  "curr_item_index = (curr_item_index + 1) % max_docs;" +
                                  "document.all["item_image" + curr_item_index].style.visibility="hidden";" +
                                  "document.all["item" + curr_item_index].style.display = "";" +
                                  "FadeIn( document.all["item_image" + curr_item_index] );" +
                                  "window.setTimeout( "HandleTimeout()", 2500, "javascript" );" +
                             "}" +
                             "function FadeIn( obj )" +
                                  "{obj.filters[0].Apply();" +
                                  "obj.style.visibility = "visible";" +
                                  "obj.filters.revealTrans.transition=12;" +
                                  "obj.filters[0].Play();" +
                             "}" +
                        "</script>");
                   myForm.addRawText("<table border=0 cellpadding=2 cellspacing=0 width="100%" dir="rtl" >");
                   Enumeration enum = iconLinks.elements();
                   int i = 0;
                   while(enum.hasMoreElements()){
                        myIcon = (IconInfo)enum.nextElement();
                        renderIconLink(myIcon, myForm, i);
                        i++;
                   myForm.addRawText("" +
                        "</table>" +
                        "<script language="javascript" >" +
                             "var max_docs = " + i + ";" +
                        "</script>" +
                        "</table>" +
                        "<script language="javascript" type="text/javascript">" +
                             "HandleTimeout();" +
                        "</script>");
              }// End Method doProcessBeforeOutput
              private void test(){
                   Form myForm = this.getForm();
                   myForm.addRawText("" +
                        "<script language="javascript">var curr_item_index = -1;function HandleTimeout( ){if (curr_item_index != -1 ) {" +
                        "document.all["item" + curr_item_index].style.display = "none";}" +
                        "curr_item_index = (curr_item_index + 1) % max_docs;" +
                        "document.all["item_image" + curr_item_index].style.visibility="hidden";" +
                        "document.all["item" + curr_item_index].style.display = "";" +
                        "FadeIn( document.all["item_image" + curr_item_index] );" +
                        "window.setTimeout( "HandleTimeout()", 2500, "javascript" );}" +
                        "function FadeIn( obj ){obj.filters[0].Apply();obj.style.visibility = "visible";obj.filters.revealTrans.transition=12;obj.filters[0].Play();}" +
                        "</script>" +
                        "<table border=0 cellpadding=2 cellspacing=0 width="100%" dir="rtl" >" +
                        "<tbody id=item0 style="display:none"><tr valign="center">" +
                        "<td align="left" width="80px">" +
                        "<div id=item_image0 " +
                        "style="filter:RevealTrans(duration=1); VISIBILITY: visible; WIDTH: 80px;">" +
                        "<a href="http://news.google.com" target="_blank">" +
                        "<img src="http://www.themarker.com/ads/2005/haareEng/zahal/2/banner_haaretz3.jpg" width="120" vspace="0" border=0></a>" +
                        "</div></td></tr></tbody>" +
                        "<tbody id=item1 style="display:none">" +
                        "<tr valign="top">" +
                        "<td align="center" width="80px">" +
                        "<div id=item_image1 " +
                        "style="filter:RevealTrans(duration=1); VISIBILITY: visible; WIDTH: 80px;">" +
                        "<a href="http://www.yotvata.co.il" target="_blank">" +
                        "<img src="http://www.google.com/intl/en/images/logo.gif" width="120" vspace="0" border=0></a>" +
                        "</div></td></tr></tbody>" +
                        "<tbody id=item2 style="display:none">" +
                        "<tr valign="top">" +
                        "<td align="right" width="80px">" +
                        "<div id=item_image2 " +
                        "style="filter:RevealTrans(duration=1); VISIBILITY: visible; WIDTH: 80px;">" +
                        "<a href="http://www.eliteintcafe.com" target="_blank">" +
                        "<img src="http://www.google.com/intl/en/images/logo.gif" width="120" vspace="0" border=0></a>" +
                        "</div></td></tr></tbody>" +
                        "<tbody id=item3 style="display:none">" +
                        "<tr valign="top">" +
                        "<td align="center" width="80px">" +
                        "<div id=item_image3 " +
                        "style="filter:RevealTrans(duration=1); VISIBILITY: visible; WIDTH: 80px;">" +
                        "<a href="http://www.ymhoney.co.il" target="_blank">" +
                        "<img src="http://www.google.com/intl/en/images/logo.gif" width="120" vspace="0" border=0></a>" +
                        "</div></td></tr></tbody>" +
                        "<tbody id=item4 style="display:none">" +
                        "<tr valign="top">" +
                        "<td align="center" width="80px">" +
                        "<div id=item_image4 " +
                        "style="filter:RevealTrans(duration=1); VISIBILITY: visible; WIDTH: 80px;">" +
                        "<a href="http://www.ganir.co.il" target="_blank">" +
                        "<img src="http://www.google.com/intl/en/images/logo.gif" width="120" vspace="0" border=0></a>" +
                        "</div></td></tr></tbody>" +
                        "<tbody id=item5 style="display:none">" +
                        "<tr valign="top">" +
                        "<td align="center" width="80px">" +
                        "<div id=item_image5 " +
                        "style="filter:RevealTrans(duration=1); VISIBILITY: visible; WIDTH: 80px;">" +
                        "<a href="http://www.energy.co.il" target="_blank">" +
                        "<img src="http://www.google.com/intl/en/images/logo.gif" width="120" vspace="0" border=0></a>" +
                        "</div></td></tr></tbody>" +
                        "<tbody id=item6 style="display:none">" +
                        "<tr valign="top">" +
                        "<td align="center" width="80px">" +
                        "<div id=item_image6 " +
                        "style="filter:RevealTrans(duration=1); VISIBILITY: visible; WIDTH: 80px;">" +
                        "<a href="http://www.glidat-strauss.co.il" target="_blank">" +
                        "<img src="http://www.google.com/intl/en/images/logo.gif" width="120" vspace="0" border=0></a>" +
                        "</div></td></tr></tbody>" +
                        "<script language="javascript" >" +
                        "var max_docs = 7;" +
                        "</script>" +
                        "</table>" +
                        "<script language="javascript" type="text/javascript">HandleTimeout();" +
                        "</script>");
                   //myForm.addComponent(frag);
              }// End test
              private void renderIconLink(IconInfo myIcon, Form myForm, int count){
                   icon = myIcon.getIcon();
                   link = myIcon.getLink();
                   tooltip = myIcon.getTooltip();
                   myForm.addRawText("" +
                        "<tbody id=item" + count + " style="display:none">" +
                             "<tr valign="center">" +
                                  "<td align="left" width="80px">" +
                                       "<div id=item_image" + count + " style="filter:RevealTrans(duration=1); VISIBILITY: visible; WIDTH: 80px;">" +
                                            "<a href="" + link + "" target="_blank">" +
                                            "<img src="" + icon + "" width="120" vspace="0" border=0 alt="" + tooltip + ""></a>" +
                                       "</div>" +
                                  "</td>" +
                             "</tr>" +
                        "</tbody>");
              }// End method renderIconLink
         }// End Class IconLinksDynPage
    }// End Class RotatingIconLinks_Parameters
    I like to think that it's pretty self explanatory but I know that reading other peoples code can be a nightmare. Have a look at it and if you have any questions then feel free to post them.
    What it does is read iView paramaters for image location (URL from KM) and a URL that'll be the link and just displays the images and links to that URL, fading one into the other.
    What you should probably do though is ignore the paramter reading and just run the 'test()' method from doProcessBeforeOutput(). Have a look at the HTML and JavaScript that gets written, play with the imagesource and href parameters that are written in the code, see what it does. Then just modify it to use the images/urls' that you want.
    Let me know if you need anything cleared up,
    Patrick.

  • How can I rotate a screen image on a peripheral monitor?

    I have a MacBook that runs OS 10.5.8.  I bought a Samsung monitor for it that rotates 90 degrees so that I could use certain very large files.
    The last time I used the MacBook, I used it with  the image rotated 90 degrees (so that the screen is about 3 times as tall as it is wide), as I planned to. 
    Since then, because of my job, I have been using a Windows OS laptop  exclusively when I've used the Samsung monitor.  It worked fine, and in fact although I wanted to try to use the Samsung with the Dell Windows OS with the rotation, I found that I could not do so, because the Windows OS would not support the rotation.
    I have now returned the Dell laptop after transferring all my files to my MacBook.  Today I connected the MacBook to the Samsung for the first time, and was stunned to see the Mac screen appearing at the 90-degree rotation.  No matter what I do, I can't figure out how to restore it.  So I have this huge monitor and basically it's showing me the same screen size as I have on my laptop.  When I change the resolution, it just gets distorted.  And nowhere can I find out how to rotate the image back to landscape.
    Online, the only instructions I have found refer to a Preferences Panel in the Displays section of the System Preferences which allows you to choose a rotation.  However, I can't locate that panel.  I tried to find it through Spotlight, using the word "rotate," and here's what came up:
    It lists "Displays" as one of the first two hits
    But when I click on that, I get the "Displays" window labeled "Color LCD"
    And that window is obscured by a smaller window that says the following: 
    The Geometry tab of Displays preferences is hidden because this display does not have
    geometry controls.
    Which is insane, since the reason that my display is now set at 90-degrees is that I did the rotation while using this MacBook.
    If anyone can help me get this resolved, I would be very grateful.
    Thanks.

    Click the gear button on the clip and select Cropping & Rotation.
    There are rotation buttons at the top of the viewer.

  • Jagged Edges after rotating a stroked image

    I've have this problem a lot but I guess I'm just now getting around to ask about it.
    When I have a  photo in cs2-cs3-cs4 etc and I rotate it at an angle I get fine jagged edges all along the sides. It's becomes very pronounced in a stroked image even when I I stroke the image after rotation. The problem is more obvious when the image is not at angles like 45 or 90 degrees but more visible at in between angles.
    Any suggestions?

    ryanroy.roy wrote:
    I've have this problem a lot but I guess I'm just now getting around to ask about it.
    When I have a  photo in cs2-cs3-cs4 etc and I rotate it at an angle I get fine jagged edges all along the sides. It's becomes very pronounced in a stroked image even when I I stroke the image after rotation. The problem is more obvious when the image is not at angles like 45 or 90 degrees but more visible at in between angles.
    Any suggestions?
    What you are seeing is alaising, and it is inherent in raster graphics when the line to be shown is not parallel to the columns or rows of the image.It can be mitigated to some extent by antialaising, which softens the edges of the diagonal lines. When you select all of an image and stroke for a border, antialaising is used. With the polygonal lasso tool, you can turn antialaising on or off. Alaising is less apparent with very high resolution, but it can't be elilminated.
    Here are triangular selections with antialaising turned on and off:

Maybe you are looking for

  • 恢复报错ORA-01139

    恢复报错ORA-01139 从oracle 10g RAC (操作系统Enterprise Linux Enterprise Linux AS release 4 64bit),数据库版本10.2.0.4环境中将数据备份恢复到相同环境的异机. 向各位大牛请教! 在做完不完全恢复时. recover database是正常的 RMAN> sql'alter database open resetlogs'; sql statement: alter database open resetlogs

  • Getting error while calling this BAPI:Field MATNR has been transferred inco

    Hi, I have a rquirement to upload material master data into sap for Plant 1251.(For plant 1251 we need to upload both Basi veiw and Extended View). I am getting the following error while calling this BAPI.Field MATNR has been transferred inconsistent

  • Database link to use in paramater

    Hi everyone.... I have a procedure like this in a package SELECT view_name, text FROM user_views@dbdev WHERE view_name IN (select distinct object_name from TD_apex_dep); v_view_name VARCHAR2(30); v_text VARCHAR2(32767); v_hash_value NUMBER; but I don

  • Is javax.servlet.http.HttpSession is Serialized

    Hi All, I just want to know, whether HTTPSession i.e., HttpSession got from HttpServletRequest is serialized? As per my opinion its serialized. Thanks in advance. Pankaj Chomal

  • TS3694 How do I solve error 2 (iPhone Recovery Mode)?

    How to I solve unknown error 2 iPhone recovery mode?