Image Rotate Problem?

I'm using Jimi Rotate class to rotate the image. It is rotating the image. But what happens black lines are added around the image.
How to solve this problem?
public Image rotateImage(BufferedImage bi, int pos)
        ImageProducer source = bi.getSource();
        Rotate rot;
        if(pos == 0)
            rot = new Rotate(90);
        else
            rot = new Rotate(-90);
        FilteredImageSource fis = new FilteredImageSource(source, rot);
        return new JimiCanvas().createImage(fis);
}

I have tried with another code also for rotate image. It is working properly. But what happens while using remote desktop connection and using this application to rotate the image. The Image is changing into Blue Color. Sometime In single PC itself I'm getting this problem.
How to solve this problem.
public Image rotateImage(BufferedImage bi, int pos)
        new_bi = new BufferedImage(bi.getHeight(),bi.getWidth(),bi.SCALE_FAST);
        Graphics2D g2d = new_bi.createGraphics();
        AffineTransform at = g2d.getTransform();
        AffineTransform rotation = new AffineTransform();
        if(pos == 0)
            rotation.rotate( (-1) * Math.PI / 2, bi.getWidth() / 2, bi.getHeight() / 2);
        else
            rotation.rotate( Math.PI / 2, bi.getWidth() / 2, bi.getHeight() / 2);
        g2d.transform(rotation);
        if(pos == 0)
            g2d.drawImage( bi, null, (bi.getWidth() / 2 - new_bi.getWidth() / 2 ) * -1, (bi.getHeight() / 2 - new_bi.getHeight() / 2));
        else
            g2d.drawImage( bi, null, (bi.getWidth() / 2 - new_bi.getWidth() / 2 ), (bi.getHeight() / 2 - new_bi.getHeight() / 2) * -1);
        g2d.setTransform(at);
        return new JimiCanvas().createImage(new_bi.getSource());
}

Similar Messages

  • Image Rotation Problem in LR 3.2RC

    Anyone else having an issue with image rotation in Lightroom 3.2C?
    Here's what happens:
    I import images from my card. There are a combination of images taken horizontally and vertically. The vertical images come in sideways (horizontally). This is no big deal: maybe the cameras I was using in this case (Olympus E-PL1 and Panasonic GF1) don't properly mark the orientation.
    So, in Grid view,  I select one of the improperly orientated images and click the "Rotate Photo Left" arrow in the toolbar. Here's where it gets weird. Instead of rotating the image 90-degrees counter clockwise, the thumbnail rotates about 45-degrees, so now it's crooked in Grid view. However, on my second monitor, the image now looks properly orientated.
    I've tried rotating using the menu (Photo menu / Rotate Left) and got the same result. If I repeatedly rotate, it ends up in all sorts of odd positions in grid mode.
    What's up with this? Is it just me?
    Alan
    PhotoCitizen.com

    Restarted Lightroom and all looks good now. I'll be interested to see if the problem returns next time I import images.
    UPDATE: I spoke too soon. Closed LR3 and opened it again. No, the cockeyed thumbnails are not saved at their odd angles. But they still don't match the image shown on my 2nd monitor (or on my main monitor either if I go to Loupe View). The Grid view image might show the vertical image lying on its side (horizontal), even though the 2nd monitor shows it in the correct orientation.
    This happens with horizontal images too if I try to rotate them - something I tried just now but wouldn't normally need to do.
    Trying to rotate the thumbnail again results in the cockeyed thumbnail. If I then CLICK on that thumbnail, it straightens out, but never in the correct orientation. Here's a screen grab:
    Something seriously wrong here. Something that NEVER happend in Lightroom 3 until I installed version 3.2RC. So, I doubt that it's a video card problem - looks like a bug to me.
    Alan
    PhotoCitizen.com

  • Image rotator problem on Dreamweaver site

    Hi I am running into a problem on my main index site. If you look at the image rotator on the very top of the page http://oldfortestates.com/index.htm via firefox (only that browser) you will see that there is a flashback of some of the images before it moves to the next image. I tried everything and can't figure it out. However if you look at the page http://oldfortestates.com/index_test.htm where I took out the info of the body of the page you will see that it is working fine and there is no flashback, however as soon as I include the information in the body the images once again do the same flashback. I need to find a way to have the full page without the flashback. Any assistance would be appreciated.

    I realized that it is the exfeat addon which is causing the problem below. Once it is on the page it interfers with the image rotator to the top. There must be a way for it to work without the interference.

  • Photoshop CS5 Image Rotation Problem

    Hi:
    I have recently found out that I am having a problem with image rotation in CS5.  If I have a Background layer and jump the layer to duplicate it and then set the jumped layer to Flip Horizontal both the jumped layer AND the Background layer are flipped horizontally as if they are linked in some way.  The only work around that I could come up with was to duplicate the document, flip the layer in the duplicate and then combine the documents.  It works but what a pain.  As anybody else experienced this problem?
    Herman R.

    Charles:
    My Background was locked and only the jumped layer was selected. 
    However, the "problem" grows more intriguing.  I tried using Duplicate Layer rather Command J (is there a difference between these two??) and was pleasantly surprised to find that the problem disappeared!!  I then went back to Command J and still had the same problem.  To make a long story short, I went back and forth several time and then even the jumped layer worked as it should.  It was as if it had "learned" the correct behavior!  I tested it now ony several documents and all is fine.  Does this make any sense to you?
    Herman R.

  • Contact Sheet image rotation problem

    When using the Contact Sheet f
    unction of CS4, some of the images are rotated 180
    degrees on the sheet.  Some of them are right side up and some are rotate
    d.  Changing the "rotate for best fit" checkbox has no
    affect.
    Has anyone else had
    this problem??
    Thanks.
    Jim

    Hi captianbob,
    Make sure that you have not selecte primary only (look in the edit menu, can be toggle with the S key)
    You can promote or demote images in the stack, see the Stacks menu.
    You can always create an album or smart album and use that to play you slideshow.
    Just an advice, if you have multible questions you should make seperate posts.
    Best regards - Per.

  • Problem with image rotation. Images are distorted.

    Here is the story:
    I import images. Some of the need to be rotated because the camera not always records rotation properly. So I rotate them in LR. Everything is fine so far. But when I want to edit the rotated file in PS (CS2) problems arise.
    Either LR does not send information about image rotation or PS does not recognize it. The image opens in PS as it was initially shot so in order to work on it properly I need to rotate it in PS again. When I return to LR the thumbnail looks fine but the develop module stretches or distorts the image.
    As far as I remember I dodn't have such a problem a week ago so what could be the cause?

    I am also having this problem, again using Jpegs. If I Right click in LR and choose "Edit Original" in Photoshop CS, the photo appears correctly oriented in PS. I edit it (in this case using PTLens to remove distortion and then cropping) and save the file.
    LR now displays it correctly in the Library module, but stretched in the Develop Module. The edges of the image and the grey pinstripe around it also flash grey a couple of times a second while displaying stretched.
    I tried reading metadata from file, and this deleted all my LR edits (not just ratings etc) to the file but didn't fix the problem.
    Any more ideas? This doesn't happen if I edit a copy of the original file, but don't really want to duplicate all images shot on a wide angle lens. Is this something in the way PS CS re-writes the orientation information to a jpeg, or how LR reads it?
    Sam

  • Problems after image rotating!

    Hi all!
    I'm having problems with image rotating..well actually drawing after image rotating.
    After I've rotate an image and have painted it, I'll have to paint another image. Problem is that the second image suppose to be painted normally, but now it rotates too. Please help me.
    example:
    Graphics2D g2 = (Graphics2D)g;
    fHeight = INumb.getHeight(this)/2;
    fWidth = INumb.getWidth(this)/2;
    g2.translate(x, y);
    g2.rotate(Math.toRadians(dAngle),fWidth,fHeight);
    g2.translate(-x, -y);
    g2.drawImage(INumb,x,y,this);
    /*now this next image is suppose to be painted normally, but now it just spinns around (I've got thread in this program*/
    g.drawImage(IScreen,0,0,this);
    how do I fix this problem?
    Thanks advance

    Thanks again, but I still have a problem. here is a code:
    IScreen = createImage(getSize().width, getSize().height);
    BGroundWin = IScreen.getGraphics();
    public void paint(Graphics g)
    //first I'm drawing all kinds of stuff to the BGroundWin
    BGroundWin.drawString(.....);
    //and now I'll have to paint this INumb image, wich is spinning around
    Graphics2D g2 = (Graphics2D)g;
    fHeight = INumb.getHeight(this)/2;
    fWidth = INumb.getWidth(this)/2;
    g2.translate(x, y);
    g2.rotate(Math.toRadians(dAngle),fWidth,fHeight);
    g2.translate(-x, -y);
    //drawing this spinning Image to the BGroundWin
    BGroundWin.drawImage(INumb,x,y,this);
    /*now I'm drawing the whole screen,but WHAT DO I HAVE TO DO TO AVOID OTHER PARTS ROTATING(only INumb suppose to rotate*/
    g.drawImage(IScreen,0,0,this);
    I've tryed many differend ways, but for some reason(too dumb I guess) I can't make it work. If I don't draw rotated image to the BGroundWin screen flashes. if draw it there everything rotates.
    If you could help me, I would be very thankful.

  • After Effects Puppet Tool "Warping Upon Rotation"problem

    Hi Everyone,
    I am having a big issue with my newly puppeted after-effects character. I have rigged up a character I made originally in illustrator. I placed puppet pins, expressed to null objects I use as controllers, then parented to each other. I have done this many times before, with no problem. However, this time, when I rotated the "Parent" Null, the child nulls follow as usual, but in this case, the object is warped through the rotation (attached pictures below). I have been using the "Puppettools 3" Plug-in, and when the bug showed up using that, I tried using this expression (upon the pins themselves):
    A=thisComp.layer("NULL_OBJECT");
    fromWorld(A.toWorld(A.anchorPoint));
    which accomplishes the same thing, just through a longer, manual process. In both cases, the object warps. Before expressing to nulls, the rotation works fine. Anyone know why it would be behaving like this? Perhaps there is something I overlooked in the process? Not sure. Any help appreciated. Thanks
    First image: starting point.
    Second image: rotation only on the "Parent" null and pin. no other pins moved, it simply warps to that form without my action.

    Hi Rick,
    Thank you for this detailed and exemplified response, everything you are saying makes sense, and the examples seem to be exactly what I am dealing with. I tested out this troubleshooting option, but unfortunately, my mesh is still not working. I tried different values of triangles - 200, 350, 370, 600, 900, and even 1500 (the max), and it still warps. My best number was 1024, but that also seems ridiculously high. Could it be because my pin placements are not linear enough? Or there are too many in such a small area? My triangles don't seem to distribute as well as yours. Here are pictures of my mesh:

  • Image rotator

    Hi I have a problem with editing my image rotator in Dreamweaver, when I go to open it I get this message: This is not located with in your defined site, please save the document in your Dreamweaver site first, I built the rotors in my Dreamweaver site, and they also work, I just cant edit them, I tried the suppliers of the rotator image magic, Projectseven.com but they said this is a Dreamwever problem. Can any one help please, thanks Jeff

    Hi Ken, to the best of my knowledge all the dependent files are on the server, remember all the rotators work I just can’t edit the, the same thing applies to all of the rotators on the site, the URL is: http://qualitycarpets.net/index.php
    Since I left this message in the forum I have noticed the same is happening on my other site: http://thecarpetandflooringconsultant.co.uk/
    Sorry to be a pain. Thanks Jeff

  • Pixel-slop in Photoshop image rotation

    See three small bitmaps attached: <<original.bmp>>; <<45cw.bmp>>; <<45ccw.bmp>>.
    The original is a simple 21x21 pixel test pattern, black except for white pixels in the center and corners.  It's appearance should be the same whether rotated 45 deg clockwise or counterclockwise, and the appearance should keep the symmetry of the original.
    I used "Bilinear Interpolation".  I used a gamma = 1 profile, and to be extra-safe set Edit>Assign Profile>Don't Color Manage ...
    I set the background color to black in the toolbox.  Thank you John Joslin.
    Then I rotated the original image 45 deg clockwise and counterclockwise to make the other two files.  Why to the resulting images look so different?  Why are they lacking in symmetry?  With the other interpolation methods too, clockwise and counterclockwise rotations give quite unlike images.  A partial explanation could be that Photoshop rotates about a point not in the image center, but this doesn't explain enough. I tried 20x20 patterns which showed similar problems.
    I'm mostly interested in bilinear interpolation because this is supposed to conserve the total pixel value.  Each white pixel in the original has value 255, so the blob resulting from this pixel should have total value 255.  Look at <<45cw.bmp>>.The blob on the left has total value 69+94+13+5+18+1=200.  The blob on the right is an almost perfect antipode with total value 1+18+6+13+95+68=201.  The blob at the bottom doesn't resemble the side blobs and has total value 42+56+40+3+55=196.  The blob at the top has total value 40+41+56=137.  Clearly Photoshop has lost the top of the top blob.  (It also does this with 45 deg counterclockwise rotation, and also with 135 deg rotation.)  The blob in the center has total value 49+49+48+47=193.  All of the blobs fall far short of 255.  Photoshop might be excused for messing up edge pixels, but not a central pixel.
    Photoshop messes up rotation at the single pixel level.  I made a test pattern with clusters of 4 white pixels and the rotation of this did conserve the total value for the central four.  Edge pixels still showed problems.  Photoshop image rotation appears to be based on sloppy code.

    Then how do you account for my post 11? How to you account for X2 detecting a extra hidden row on the left and top side of of the image? There is no hidden row on the bottom or rightside.
    Adobe digimarc did not detect anything.
    Paint Shiop Pro X2 digimarc did.
    I have posted the proof. It is not my fault that Adobe digimarc addon cannot detect the watermark.
    The watermark is there.
    dcouzin wrote:
    Fantasy watermark.  First of all a black pixel isn't a watermark.  It can't "hide" a watermark.  Hiding has no meaning in this context.  If the file header has a digital ID that's fine, but it's not "hidden" in the image, not under a black pixel.
    All of your reported O=255 data is not in the image either.  There aren't enough bytes in the file to specify opacity at each pixel.  This is a 24-bit RGB image not a 32-bit RGBO image.  Maybe O=255 is specified globally somewhere in the header, but I don't see "FF" anywhere in the header.  More likely full opacity is presumed for a RGB image.
    THERE IS NO WATERMARK.
    I suggest you download BinViewer 2.0 and BinEditor 2.0 which are freeware. Look at the file <<original.bmp>>.  You will count 114 zeros between the first "FF FF FF" and the next "FF FF FF".  114 divided by 3 equals 38 so "00 00 00" appears 19 times between the "FF FF FF"s.  Hey, that's the 19 black pixels between two of the corner white pixels.  Now you can use BinEditor 2.0 to change some of the "0"s or "F"s to anything you want.  You can write "dec9" in there.  Save and open in Photoshop to see what you've painted.  It's great fun creating colors and shapes by poking numbers into a file.  It's the opposite of Photoshop's glistening gliding paintbrushes, and it has a powerful truth. 
    This is why I want to know what Photoshop does when, for example, it rotates an image.

  • Images Rotated 90 Degrees on prints

    i am having this issue with the Apple version of Adobe Illustrator CS3. We just got a new printer (Sharp MX-3501N) and it has a Fiery 2 print server on it. When i print illustrator documents to it, the first page comes out great. Comes out landscape on 11x17 paper. But if i tell it i want any more then just one print (2 or more copies) the first page comes out fine, each additional page comes out with the image rotated 90 degrees and is printed right off the page and leaves a blank space on the bottom of the page. Adobe is updated, MacOS (10.5) is updated, i have tried printing from other programs and everything else prints fine, and i have updated the drivers.
    I am an authorized sharp service center and i talked to Sharp technician support about it and they said that because Adobe handles the print job from start to finish, there is likely a setting in illustrator that is messed up. Anyone have any ideas on how to fix this?

    I'm not sure if I understand your problem. If it uses a proper PS RIP, the rasterized version will be stored in it and it should initiate printing multiple copies, not the computer that sends over the PS/ PDF data. Are you sure you're not missing out on some silly check mark somewhere in teh printer driver? what you describe strikes me more as an "only print first page differently/ print cover sheet" option as you would use them in an office program. Is Illustrator actually set to handle the print job (which would be kinda pointless on a hardware RIP)? If so, you should get this odd behavior with other printer drivers as well (PDF document printer etc.) and then indeed it would be the program's fault...
    Mylenium

  • Rotation problem after editing in Photoshop

    I'm using Lightroom 1.3 and Photoshop CS3 with all the current updates. This problem was the same in LR1 and PS CS2.
    I have a mix of orientations in the JPEGs in my library - portrait and landscape. When the photos are imported into LR they appear correct. If I select a bunch of them, open them in PS (using Edit in Photoshop > Edit Originals), run a noise filter, save them, and then go back to LR, the previews for the portrait images are rotated so that all the previews show as landscape.
    The portrait images display correctly (except for the fact that they have been rotated) in the Library module - both grid and loupe view). In the Develop module, the image aspect is displayed portrait but the image is as a distorted landscape - the image is rotated and then distorted to fill the portrait oriented space. In the Print module, that same distorted image is fills the portrait oriented page. To be clear, instead of a portrait image appearing in the correct orientation on a portrait page preview, the image is rotated 90 degrees and then stretched to fill the page.
    There is a badge on the preview indicating that the metadata is out of sync with the file.
    If I rotate the image in LR, the badge goes away and the image appears portrait and undistorted in the Library module's grid and loupe views. The Develop module show the portrait image in the correct rotation, but has been stretched to a landscape aspect. The Print module shows that distorted image rotated to fit the portrait page.
    The only way to correct this is to "Read Metadata from file". This resets all the orientation information so that it displays correctly in LR, but all the tags and IPTC information gets erased.
    This is most of the reason why I was writing all the metadata into to files until now. I would write the metadata before editing in PS, do my PS edits, and then back in LR I'd "Read the Metadata" from the files to set everything correctly in LR. But of course now that I'm working with Leopard I get screwed if I do this because my files will crash the Finder.
    To top it all off, I've run into the "...cannot be saved because the file is in use" problem with some files I opened last night.
    Clearly none of these issues are being addressed in Adobe or Apple's updates. Is there a reasonable workaround that will let me:
    1. set metadata and tags and know that they won't either get lost or cause problems
    2. have image orientation respected and displayed correctly
    3. not crash any of the three critical applications on this computer - Lightroom, Photoshop, and Finder.

    I really appreciate your explaining this Jao.
    I'm going to explain how I got into this situation, in the hopes that it may prove useful to someone (I'm looking at you, Adobe) who wants to understand how the app is being used in the real world.
    So as not to break up the narrative, let me just say that I'd be happy (ecstatic, actually) if I could use Lightroom for my entire workflow, but the noise reduction filter in LR is just nowhere near as good as NoiseNinja. (A problem shared by LR, PS, and Aperture.) If I could run NN from inside LR, that would rock.
    Oh, and I shoot JPEG because I shoot live events where the lighting is usually crap and I need to be ready at any moment for something interesting to happen. Shooting RAW would be nice, but it's too slow and takes up way too much space.
    So here's what I do, (hopefully edited to make the reading non-tedious)
    1. import all photos from source (usually memory cards)
    The photos go onto a drive reserved for photos. I shoot events, so everything is organised by date-event. On import I set filenames (date - event name - time stamp.jpg) and keywords.
    2. cull
    They get marked "1" (irretrievably useless, to be deleted), "2" (keep just in case), "3" (decent shots), "4" (photos that I want to show to other people), or "5" (this is one of my best this year). Delete the "1"s.
    3. select 20-30 "picks"
    I create a folder within the event folder called "Picks" for these photos. Then I duplicate that folder as "Originals"
    In doing it this way I can protect myself if I need/want to change my cataloguing application. I'm on my fourth one at this point (Lightroom) and while I am generally finding that LR is meeting my needs more than anything else I've tried, I've been burned in the past (how many of us have regretted letting Aperture put all our photos into an incomprehensible database/folder hell?)
    The Picks/Originals structure makes sure that the originals never get touched (because it doesn't show up in LR) and I can quickly find the Picks.
    I -was- writing the metadata to the files so the ratings, keywords, and IPTC info was where it should be - attached to the photo. I've stopped doing this for the time being until this whole Finder-craching debacle is corrected.
    So why am I not using LR's built "Edit - Copy"/stacking function, which more or less duplicates my process?
    Well part of it was my own dumbness - Aperture made the edited copy/variation a Photoshop file, which ballooned my collections with staggering speed. I'm not sure if LR used to do the same thing, or I just made the assumption. My mistake.
    The other part of the problem is just the simplicity of having an Originals folder that is effectively ignored. Using LR will mix the "-edited" files in with originals, which is not as efficient or elegant a solution, but I'll give it a whirl.
    Thanks for your suggestion. If giving up my Picks/Original process solves the rotation problem then perhaps it's a fair trade.
    Still, it seems that the right hand is somehow oblivious to what the left hand is doing in the whole PS/LR thing, and that it ought not work that way.

  • Aperture image rotation

    HI, I am new to macs and aperture and usually use photoshop.
    Can anyone tell me how to rotate a picture by anything other than 90 degrees? I'm probably just not looking in the right place, in ps it was under image-rotate-custom. Also I cant find this in iphoto, but maybe you can only do the basics in that.
    Many thanks, Tim

    Its complicated. I do need to do this to around 50 pics.
    I just got married, and my sister set up a photo both at the venue for people to take pictures of themselves with a remote camera. They had props and a frame to frame themselves. It sounds weird but we got some great pictures. The only thing is most people held the frame a funny angle, (quite a few at around 45 degrees) and I want to crop to just the frame and straighten it.
    Its not a problem because I can do it quite easily in photoshop elements, just downloaded a trial for that too. I was just trying the decide between the two anyway, but liked the look of aperture.

  • Access Image Rotate Arbitrary Value

    Hi scripters,
    I just want to get the value of current document's Arbitrary value,
    In the Menubar
    Image>Rotate Canvas>Arbitrary
    how can i do this via javascript indesign CS2
    can any one tell me how can i get?
    Thanks in advance
    regards
    a r u l

    Thanks for all your attention.
    The runtime error is rather strange:
    >
    javax.servlet.ServletException: javax.faces.FacesException: javax.faces.FacesException: Can't instantiate class: 'actions.DataManagementBean'.. class actions.DataManagementBean : java.lang.NullPointerException
    The DataManagementBean is the class that accesses the property "dataTransferType" in the DataFile class. And the initial value of the "dataTransferType" is defined in the faces-config.xml file.
    If I arbitrarily introduced a String value in the DataManagementBean:
    String defaultSelectedDataTransferType = "importFile"and in the DataManagementBean's constructor, I use this statement:
    this.recordItems = this.getRecordsList( defaultSelectedDataTransferType );Things worked as I had expected without problem. But, I think this is not an elegant way of coding it. Because there is a pre-defined value of dataTransferType in the faces-config.xml file, I should access it from there.
    But, when I specify:
    this.recordItems = this.getRecordsList( datafile.getDataTransferType() );The DataManagementBean cannot even be instantiated!
    In my faces-config.xml file, I have:
    <managed-bean>
      <managed-bean-name>dataManagementBean</managed-bean-name>
      <managed-bean-class>actions.DataManagementBean</managed-bean-class>
      <managed-bean-scope>session</managed-bean-scope>
      <managed-property>
       <property-name>datafile</property-name>
       <property-class>propertyBeans.DataFile</property-class>
       <value>#{dataFile}</value>
      </managed-property>
    </managed-bean>
    <managed-bean>
      <managed-bean-name>dataFile</managed-bean-name>
      <managed-bean-class>propertyBeans.DataFile</managed-bean-class>
      <managed-bean-scope>session</managed-bean-scope>
      <managed-property>
       <property-name>dataTransferType</property-name>
       <property-class>java.lang.String</property-class>
       <value>importFile</value>
      </managed-property>
    </managed-bean>
    ......

  • Fast image rotation and contrast adaptation

    First: I'm new in vision processing.
    I'm using LabView 8.0 with the IMAQ Vision development module. The aim is to control the angle and the contrast of a precalculated image (a greyscale wedge) in a fast loop with a framerate of 60 or 100Hz. Currently I use the time-consuming IMAQ rotate and IMAQ BCG functions. All these function works very fine but a litle bit to slow for my application. I have measure: IMAQ rotate with 40ms and IMAQ BCG with 15ms for an image with 1024 x 768 pixels (8-bit greyscale) on a new PC. I know that an arbitrary rotation is a processor intensive task.
    Please correct me, but i assume that with IMAQ rotate the image rotation will be carried out in the PC RAM. Afterwards the recalculated image will be written in the grafic memory. In a final step the image will be displayed on the monitor by mean of the grafic processor.
    I can imagine there exist a solution or some ideas in the LabView community to use the high end 3D very fast grafic card processor for the rotation and contrast tasks. I hope the approach will accelerate the time of calculation.
    Thanks for your help.
    Best regards
    Ivo Buske

    And of course, the rambling about IMAQ image pointers isn't relevant. (Skip all IMAQ.)
    You might as well send the image once (each time it changes), and rotate it with opengl.
    "Wiebe@CARYA" <[email protected]> wrote in message news:[email protected]...
    Hi,
    If I understand correctly, you just want a gradient screen to rotate, and to be able to adjust it's contrast.
    This can be done a lot easier without an image. If you use OpenGL, you can just draw two triangles with there color set correctly. (You'd be able to make nice rainbow pictures as a bonus.)
    An C/C++ application, or dll, could be made in a few hours by someone experienced with opengl and c++. You could even create an opengl window, and control it with LabVIEW. In other opengl applications there are some practical problems, but some might not matter to your application. Biggest problem is getting feedback (mouse clicks, close, move, resize window etc.) from the OpenGL window to LabVIEW.
    Opening a opengl window, rotating a few polygons, adjusting color, closing window certainly doable.
    Regards,
    Wiebe.
    "ibstein74" <[email protected]> wrote in message news:[email protected]...
    Hi Wiebe, I have a fixed image, created before with array functions, that contain a pure linear greyscale gradient (left side: white / right side: black). I used this image to control a "spatial light modulator". This device is connected to the second DVI graphic card output. The main task of the "spatial light modulator" is to shift the local phase of the reflective light. It works as an spatial resolved "adaptive mirror".&nbsp; The local phase shift correspondes directly to the applied grey level of the image. To change the direction in both dimensions of the reflective light I need to rotate this image (= rotate the phase wedge) Thereby the contrast can adjust the absolute angle of reflection.After I had calculated my greyscale gradient image and applied it to the second DVI output, I want only control the contrast and rotation. I think the graphic card function are very fast. But I have to control the graphic card directly per DLL or C-function node. It must be possible because I can tune the contrast and adjust the rotation manually with the nvidea driver in the windows system manager. I'm&nbsp; waiting for a couple of weeks of an answer from nvidea but it seems that contrast and rotation of an 2D-image is not a real problem for these 3-D guys. :-(I hope of an answer or new ideas.Ivo Buske

Maybe you are looking for

  • Every Now and Then

    It happens around 4-5 times a day. My iPhone just Beeps, once, with vibration! I check sms there are none, I check voicemail there are none, I check emails, all accounts, I don't see any, and then I'm confused. Is there a way to set different tones t

  • How do you install 3rd party plug-in in Photoshop CC

    Our fine customer service/tech support wouldn't help me with my question/problem because 3rd party plug-ins are not an Adobe product.... Silly, isn't it since all I want to know is how do you install "any" plug-ins into Adobe Photoshop CC. Can anyone

  • Error when moving an object around the art board (Video)

    So I have a grouped object which I was about to move into place when I started getting this odd error, including a error message. Here is a video of the issue: http://youtu.be/8o1E_oF5D0I Error message: Can't move the objects. The requested transform

  • Update Apn data setting for BlackBerry 9800 torch.

    How can I update my Apn data setting on the BlackBerry 9800 torch? Because I am on the AT&T pay as you go plan, but on the pay as you go plan the phone as no mobile network but I have to use the wi-fI because on the 50$ unlimited plan is only talk an

  • Curve 8900, no MMS option?

    Just got a new Curve 8900. Activated it with V5, everything is working great. However, I do not have a "Send MMS" option anywhere. I can send/receive SMS and emails, but no MMS. Any insight?