Rotating an image in memory

Hi
I need to rotate an image kept in a DB as a byte array. I have an Object holding the byte array of the image, and I want to create a new byte array holding the rotated image.
I use the following code:
private byte[] rotateImage(byte[] originalImageAsBytes , double radians) throws InternalException {
    ByteArrayOutputStream rotatedImageStream = null;
    try {
      BufferedImage originalImage = ImageIO.read(new ByteArrayInputStream(originalImageAsBytes)); // read the original image
      BufferedImage rotatedImage = new BufferedImage(originalImage.getHeight() , originalImage.getWidth() , originalImage.getType()); // create the rotated image
      AffineTransformOp rotationTransformOp = new AffineTransformOp(AffineTransform.getRotateInstance(radians),AffineTransformOp.TYPE_NEAREST_NEIGHBOR); // this AffineTransformOp is the actual "rotater"
      rotatedImage = rotationTransformOp.filter(originalImage,null); // perform the rotation
      // write the result
      rotatedImageStream = new ByteArrayOutputStream();
      ImageIO.write(rotatedImage, ImageIO.getReaderFormatNames()[0] , rotatedImageStream);
    } catch (IOException e) {
      throw new InternalException(e);
    return rotatedImageStream.toByteArray();
  }//rotateImageWhen I run this code I get the following exception:
java.awt.image.RasterFormatException: Transformed height (0) is less than or equ
al to 0.
at java.awt.image.AffineTransformOp.createCompatibleDestImage(AffineTran
sformOp.java:436)
at java.awt.image.AffineTransformOp.filter(AffineTransformOp.java:209)
I tried to do the following:
private byte[] rotateImage(byte[] originalImageAsBytes , double radians) throws InternalException {
    ByteArrayOutputStream rotatedImageStream = null;
    try {
      BufferedImage originalImage = ImageIO.read(new ByteArrayInputStream(originalImageAsBytes)); // read the original image
      BufferedImage rotatedImage = new BufferedImage(originalImage.getHeight() , originalImage.getWidth() , originalImage.getType()); // create the rotated image
      AffineTransformOp rotationTransformOp = new AffineTransformOp(AffineTransform.getRotateInstance(radians),AffineTransformOp.TYPE_NEAREST_NEIGHBOR); // this AffineTransformOp is the actual "rotater"
      rotationTransformOp.filter(originalImage,rotatedImage); // perform the rotation
      // write the result
      rotatedImageStream = new ByteArrayOutputStream();
      ImageIO.write(rotatedImage, ImageIO.getReaderFormatNames()[0] , rotatedImageStream);
    } catch (IOException e) {
      throw new InternalException(e);
    return rotatedImageStream.toByteArray();
  }//rotateImageBut this simply does not create the transformation. When I debug the the application I see that the filter method does not change the rotatedImage at all.
Can anyone help please?
10x

I'm glad I'm discussing with myself here, but again - I have more input (I would be very grateful if someone could help as well...).
I found out that what ruins my images is the type of interpolation I used. If I don't use the AffineTransformOp.TYPE_NEAREST_NEIGHBOR - the image is ruined.
However, when I use the nearest neighbor interpolation, the quality of the image is degraded.
This is the code I use now (that works but degrades the image), please feel free to let me know how can I use bilinear or bicubic interpolations, and still succeed my operation:
  private byte[] rotateImage(byte[] originalImageAsBytes , double radians) throws InternalException {
    ByteArrayOutputStream rotatedImageStream = null;
    try {
      BufferedImage originalImage = ImageIO.read(new ByteArrayInputStream(originalImageAsBytes)); // read the original image
      AffineTransform rotationTransform = new AffineTransform();
      rotationTransform.rotate(radians, originalImage.getWidth() / 2.0 , originalImage.getHeight() / 2.0);
      AffineTransformOp rotationTransformOp =
        new AffineTransformOp(rotationTransform , AffineTransformOp.TYPE_NEAREST_NEIGHBOR);
      BufferedImage rotatedImage = rotationTransformOp.filter(originalImage,null);
      // write the result
      rotatedImageStream = new ByteArrayOutputStream();
      ImageIO.write(rotatedImage, "jpg" , rotatedImageStream);
    } catch (IOException e) {
      throw new InternalException(e);
    return rotatedImageStream.toByteArray();
}//rotateImage

Similar Messages

  • How do i rotate an image in keynote?

    Im trying to rotate an image in keynote bc im making a collage and i dont want all my images straight up and down. Does anyone know how to do that?

    Nevermind i figured it out =)

  • Inserted memory card to upload photos to iPhoto and received this message "no images on memory card meet download conditions".

    I've been using my memory card from my Canon camera to upload photos to iPhoto.  No problem.  I attempted to use my daughter's memory card from her Canon camera (different model) and I get a pop up window stating "No images on memory card meet the download conditions."  Can anyone tell me why or what I can do so I can save these photos to my iPhoto?

    Well still the best guess is
    the best guess is incorrect settings (as far as Mac iPhoto is concerrened) on her Canon Camera
    Give image capture (in your application foder) a try and see what it sees
    Do yu have a card reader? If so try it and see what the finder sees on the card
    LN

  • My video was recorded on my I phone 4, the camera was held sideways for a horizontal view, but loads in I movie vertically.  How can I rotate the image so it is horizontal?

    My video was recorded on my I phone 4, the camera was held sideways for a horizontal view, but loads in I movie vertically.  How can I rotate the image so it is horizontal?

    Drag the clip from your Event to your Project. Then use the Rotate, Crop, Ken Burns Tool on the Middle Toolbar to rotate it

  • Partial rotation of images when importing...

    I'm wondering how to stop Lightroom from "squaring up" my images when I import them.  Attached is a screen shot to illustrate.
    I also can't find any consistentency, if I import the same image three times it will be as above twice but not on the third time!
    I'm wondering if this is a metadata thing?
    BTW camera is a Nikon D600.
    With thanks in advance,
    -Simon

    If this is only happening to a few of the images on import it is most likely something related to your camera. If ALL of the Imported images exhibit the issue then there are two things in LR that could cause this to happen:
    1) You are applying a Develop preset on Import that has  Lens Corrections> Manual> Rotate tool setting other than '0.'
    2) Your LR 'Default Develop Settings' has a Crop Angle tool or Lens Corrections> Manual> Rotate tool setting other than '0.'
    To check this import one of the images from CF card that shows the rotation. Examine the Crop Angle tool and Lens Corrections> Manual> Rotate tool settings to determine which one is being applied. From inside the Develop module with the imported image still rotated hit the master 'Reset' button at the bottom of the right-hand Develop panel. This applies your LR 'Default Develop Settings.'
    a) If the image is still rotated you may have inadvertently updated your LR 'Default Develop Settings' in the past with the image rotated. To correct this simply hit the master 'Reset' button, reset both the Crop Angle tool and Manual Rotate tools to '0,' go to toolbar Develop> Set Default settings, and select 'Update to Current Settings.'
    b) If the image is not rotated you are probably applying a Develop preset that was inadvertently created with the image rotated. You will need to recreate this preset making sure Lens Corrections> 'Transform' is unchecked. This is the only Develop preset setting that will rotate the image as in your example.
    If neither a or b fixes the issue you can try resetting your LR Preferences file:
    http://members.lightroomqueen.com/Knowledgebase/Article/View/1148/198/how-do-i-delete-the- lightroom-preferences-file

  • Loading images into memory

    I have an applet that I need to load images into memory. For instance, lets say I am in the first section of the applet. While that section is being showed, I want to load the background image of the second section into memory.
    To load the initial image into momory, I am just using a Mediatracker. No problem there. But I don't want to load all 20 backgrounds into memory at the same time as they take a lot of time. My understanding is that if I create a new MediaTracker while the first chapter is running, it will potentially cause some chaos, as that will stop my thread from running while I have an image loading.
    Somebody told me perhaps I could create a new thread and have that thread load the backgroudn into momory? Perhaps something like this?
    public class TestClass extends JApplet {
         private TestClass thisClass;
         public void init() {
              thisClass = this;
              Runnable r = new Runnable() {
                   public void run() {
                        MediaTracker tracker = new MediaTracker(thisClass);
                        Image nextImage = getImage( getDocumentBase(), getImagePath() +"img1.jpg");
                        tracker.addImage(nextImage,0);
                        try {
                             tracker.waitForID(0);
                        } catch (InterruptedException ie) {
                             System.out.println(ie.toString());
              Thread t = new Thread(r);
              t.setDaemon(false);
              t.start();
              while(t.isAlive()) {
                   int i = 1;     
              t.stop();
              t.destroy();
    }No idea if I am on the right track or not? Another friend told me something about swing helpers but couldn't tell me much more?
    Thanks in advance!

    I use media tracker when I need information about how percent the image is loaded. you can use JLabel to load the images since it has own image observer in it.
    hope you just want to deal with it. easiest way I can offer :)

  • Can anyone help me to add method to rotate the image using mouse?

    Hi everyone, i am currently creating a game which require the user to be able to drag and rotate the image
    on the screen..but sadly...i'm only able to do the dragging part..
    Can anyone be able to help me add the method to rotate the image using the mouse?
    Thanks :-)
    the code
    import javax.swing.*;
    import javax.swing.border.*;
    import java.awt.*;
    import java.awt.event.*;
    import java.awt.image.*;
    import java.awt.geom.*;
    class Game extends JFrame {
         DisplayCanvas canvas;
         public Game() {
              super("My Game");
              Container container = getContentPane();
              canvas = new DisplayCanvas();
              TitledBorder border = new TitledBorder("Game Window");
              border.setTitlePosition(TitledBorder.BOTTOM);
              canvas.setBorder(border);
              container.add(canvas);
              addWindowListener(new WindowEventHandler());
              setSize(450,400);
              show();
              class WindowEventHandler extends WindowAdapter {
                   public void windowClosing(WindowEvent e) {
                        System.exit(0);
              public static void main(String arg[]) {
                   new Example();
         class DisplayCanvas extends JPanel {
              int x, y;
              BufferedImage bi;
              DisplayCanvas() {
                   setBackground(Color.white);
                   setSize(450,400);
                   addMouseMotionListener(new MouseMotionHandler());
                   Image image = getToolkit().getImage("duke.gif");
                   MediaTracker mt = new MediaTracker(this);
                   mt.addImage(image, 1);
                   try {
                        mt.waitForAll();
                   catch (Exception e) {
                        System.out.println("Exception while loading image.");
                   if (image.getWidth(this) == -1) {
                        System.out.println("***Make sure you have the image "
                        + "(duke.gif) file in the same directory.*****");
                        System.exit(0);
                   bi = new BufferedImage(image.getWidth(this),
                   image.getHeight(this),
                   BufferedImage.TYPE_INT_ARGB);
                   Graphics2D big =bi.createGraphics();
                   big.drawImage(image, 0, 0, this);
              public void paintComponent(Graphics g) {
                   super.paintComponent(g);
                   Graphics2D g2D = (Graphics2D) g;
                   g2D.drawImage(bi, x, y, this);
              class MouseMotionHandler extends MouseMotionAdapter {
                   public void mouseDragged(MouseEvent e) {
                        x = e.getX(); y = e.getY();
                        repaint();

    research a bit on AffineTransforms. you can set the rotated instance of the Graphics2D class and it will do the rotations for you :-D

  • Rotating an image and getting back the image...

    Hi,
    I have a small problem using images...
    1. I have an existing image...
    2. I need to rotate the image by a certain angle(say 60 degree)....
    3. Return the rotated image back to the calling routine...
    My problem is that I can rotate the image using the AffineTransform, and draw the image immediately... but I cannot return the rotated image... can anyone help me out on this??????

    No sorry that didn't fix it. I forgot to mention that I already have a method in ImagePanel called clearImage()
         * Clear the image on this panel.
        public void clearImage()
            if(panelImage != null) {
                Graphics imageGraphics = panelImage.getGraphics();
                imageGraphics.setColor(Color.LIGHT_GRAY);
                imageGraphics.fillRect(0, 0, width, height);
                repaint();
        }But if I clear the panel and then try to apply the function nothing happens. The LIGHT_GRAY background remains.
    This is how I apply a function in the class[b] ImageViewer
         * Apply a given function to the current image
        private void applyFunction(Function function)
             if(currentImage != null) {     
                  if(function.getName().equals("Zoom In")) {
                       Zoom.ZOOMIN_RATE = 1.5;
                       function.apply(currentImage);
                  else if(function.getName().equals("Zoom Out")) {
                       Zoom.ZOOMIN_RATE = 0.5;
                       function.apply(currentImage);
                  else {          
                       imagePanel.clearImage();
                       function.apply(currentImage);    //A function is applied                   
                  frame.repaint();              
                  showStatus("Applied: " + function.getName());
             else {
                  showStatus("No image loaded.");
        }

  • Unable to rotate raw images in bridge, rotate buttons grayed out?

    Unable to rotate raw images in bridge, rotate buttons grayed out? 
    Bridge 5.0.2.4. 

    There is an ignore EXIF setting Preferences. I can't remember if that is Bridge or Photoshop, but IIRC it is for DNG files.
    Right.  Check Photosho > Preferences > File handling and make sure 'Ignore EXIF tag, is not checked.  I think that might do it, so long as it refers to sidecare files, because only RAW files would have one.

  • Photoshop and Bridge CS5 does not auto rotate SOME images.

    Photoshop and Bridge CS5 does not rotate SOME of my vertical images.  Most other photos taken in the same time frame and with the same camera display perfectly.
    Orientation is checked for display under Preferences, Metadata, Camera Data. 
    There also seems to be a discrepancy how Orientation is described under Metadata for those images which DO auto rotate : sometimes it is -90 (which is how I hold the camera for verticals and which displays on most verticals) and sometimes it is "normal" even when it has auto rotated the image.   I do not understand this difference.
    "Normal" is also used to describe the orientation of those images which DO NOT auto rotate for viewing.
    The photos in questions were taken using a Nikon D-300 which is programmed to indicate the orientation of the camera and has always been programmed to do so. 
    I know I can manually change the orientation but we are talking about hundreds of images (I have over 10,000 photos in all; most of which display fine).
    What should I be looking for to explain and correct this issue?
    I appreciate anything you can do to help.  Thank you.

    Thanks for responding to my query.  I'll check out the thumbnail size.
    It is just so curious that 90% of the verticals auto rotate and the rest do not.  The ones that do not rotate are even from different years (other images in those years work fine), although all taken with the same camera.

  • Rotating Multiple Images in Fireworks

    I have my home page designed in Fireworks MX 2004. I'd like
    to set a rotation of images (all same size) into my page. Can I do
    this in Fireworks?
    Previously I used a Java script from another source but after
    adding swap image behavior to my menu text my rotation script no
    longer works. I don't know Java well so I'm assuming the two
    scripts are stepping on each other toes somehow.
    Thank you for any input you may have,
    Tim

    Hi Tim,
    Unless you create a GIF animation with the images (not
    recommended for
    photos) you can't do this in Fireworks.
    Linda Rathgeber [PVII] *Adobe Community Expert-Fireworks*
    http://www.projectseven.com
    Fireworks Newsgroup:
    news://forums.projectseven.com/fireworks/
    CSS Newsgroup: news://forums.projectseven.com/css/
    Design Aid Kits:
    http://www.webdevbiz.com/pwf/index.cfm

  • How do I rotate the image?

    I am using Adobe Photoshop CC and I need to know how to rotate an image.

    This is probably more than you ever wanted to know about rotating an image. It is an Information Sheet I wrote and distributed to my students and you may find it helpful.
    Three popular methods used to straighten a tilted scene, such as the one shown the first photograph above, are Image Rotation, Straighten and the Level feature in the Crop tool. Each requires you to draw a horizon line or similar reference as a first step in the process, and each produces slightly different result.
    Image Rotation*:
      1. Choose the Ruler tool. (It is nested with the Eyedropper tool.) Click and drag a reference line as shown in the middle image in the top row above.  (The area around the image was lightened and red circles were added for clarity.) Depending upon the subject, the line may be horizontal, as seen here, or vertical.
      2.  Choose Image > Image Rotation > Arbitrary. When the Rotate Canvas menu appears, click OK. The result will be similar to Fig.1 above, showing the entire image.
    Straighten*:
    Once again, begin by choosing the Ruler tool and drawing the reference line. A feature was added to the Ruler tool in version CS5 and it appears in the Options bar: the Straighten command. Click on it and the image will be rotated and cropped as seen at the top/right. If you prefer to have the image rotated but not cropped you may either:
      1. Hold down the Option key as you click on the Straighten command.
      or
      2. After clicking on the Straighten command, choose Edit > Undo Crop.
    In either case the result will be similar to Fig. 1 above.
    The Straighten command, which also appears in CS6, produces a similar image rotation and trims a small amount of picture area as seen in Fig. 2.
    The Crop Tool’s Level symbol:
    This latest innovation, introduced in CS6, uses a command found in the Options bar of the Crop tool. The equivalent of the Ruler tool is built into the carpenter’s level symbol to the left of the word Straighten in the Options bar. Click on the level and draw the reference line. The image will rotate and the largest rectangular dimensions will be framed by the Crop tool plus, in a shaded area, the part of the image that will be eliminated. This allows you to adjust the image area if desired before cropping the image. The result, before clicking on the Commit key on the right side of the Options bar, appears as seen in Fig. 3.
    * When Image Rotation or Straighten is used to tilt the image, each of which also shows blank areas created by the rotation, consider using the Content Aware Fill command,
    An oldie but goodie: Crop & Straighten
    The image below shows the result when File > Automate > Crop & Straighten Photos was applied to a three-image gang scan. Note that:
      1. Each print has clearly defined sides.
      2. Each print was separated from the others by at least a half-inch.
    This command creates a separate file for each cropped image and leaves the original file intact.

  • How can I load pattern matching images into memory?

    I discovered this problem by accident when our network went down. I could not run my VI because the .png file used for pattern matching was on a network drive. My concern it the amount of time that is required to read a network file. Is there a way to load the file into memory when the VI is opened?

    Brian,
    Thank you for contacting National Instruments. For most pattern matching programs, the pattern file should only be read from file once and is then copy to a buffer on the local machine. If you examine your code, or an example program for pattern matching, you should see at least two IMAQ Create VI called somewhere near the front of your code. This VI basically creates a memory location and most likely will be called once for your pattern image and once for the image you are searching.
    Unless you are specifically calling a File Dialog VI where you are given a dialog box to open a file or have hard coded the file path so that it is read each iteration of your code, then your pattern file should only need to be called at the beginning of your application, th
    us causing only one file read over the network for that image. Therefore your program most likely already loads the image in memory once it is read and should not be accessing the network constantly.
    Again, I would recommend taking a look at your code to make sure you are not causing a file access every time and then you should be ready to go. Just in case you do have the network go down, I would recommend keeping a copy of the image locally and, if you are feeling ambitious, you can programmatically have your program read the file locally if the network file returns an error.
    Good luck with your application and let us know if we can be of any further assistance.
    Regards,
    Michael
    Applications Engineer
    National Instruments

  • Rotated transparent images Muse CC 2014 not compatible with IE8....  they all appear with a black box behind them.

    IE 8 is supposed to be supported by muse CC 2014 but its not in the case of rotated transparent images.. Did not have this problem in the previous version of Muse.  The code did not have progid:DXImageTransform.Microsoft.Matrix... now it does...
    Had to add ie8 specific css and code to the page and use a composite image instead of the individual images to get a page with no black boxes...
    . <!-- CSS -->     <!--[if lte IE 8]>     <link href="assets/money3/ie8.css" rel="stylesheet" type="text/css">     <![endif]--> 
    <!--[if lte IE 8]>       <div class="clearfix grpelem" id="u24742ie8">     <img src="images/composite2.png" alt=""/>      </div>    <![endif]-->     
    <!--[if gte IE 9]><!-->        <div class="clearfix grpelem" id="u24742"><!-- group -->       <div class="clearfix grpelem" id="u24686"><!-- group -->        <img class="grpelem" id="u24545" alt="" width="119" height="119" src="images/floating1000sgreen-u24545.png" data-mu-ie-matrix="progid:DXImageTransform.Microsoft.Matrix(M11=-0.8572,M12=0.515,M21=-0. 515,M22=-0.8572,SizingMethod='auto expand')" data-mu-ie-matrix-dx="-22" data-mu-ie-matrix-dy="-22"/><!-- rasterized frame -->        <img class="grpelem" id="u24509" alt="" width="159" height="159" src="images/floating1000s2green-u24509.png" data-mu-ie-matrix="progid:DXImageTransform.Microsoft.Matrix(M11=0.9744,M12=-0.225,M21=0.2 25,M22=0.9744,SizingMethod='auto expand')" data-mu-ie-matrix-dx="-16" data-mu-ie-matrix-dy="-16"/><!-- rasterized frame -->        <img class="grpelem" id="u24503" alt="" width="184" height="184" src="images/floating1000sgreen-u24503.png" data-mu-ie-matrix="progid:DXImageTransform.Microsoft.Matrix(M11=0.848,M12=-0.5299,M21=0.5 299,M22=0.848,SizingMethod='auto expand')" data-mu-ie-matrix-dx="-35" data-mu-ie-matrix-dy="-35"/><!-- rasterized frame -->       </div>       <div class="clearfix grpelem" id="u24583"><!-- group -->        <div class="clearfix grpelem" id="pu24596"><!-- group -->         <img class="grpelem" id="u24596" alt="" width="58" height="58" src="images/floating1000s4-u24596.png" data-mu-ie-matrix="progid:DXImageTransform.Microsoft.Matrix(M11=0.9703,M12=-0.2419,M21=0. 2419,M22=0.9703,SizingMethod='auto expand')" data-mu-ie-matrix-dx="-6" data-mu-ie-matrix-dy="-6"/><!-- rasterized frame -->         <img class="grpelem" id="u24614" alt="" width="54" height="46" src="images/floating1000s2green-u24614.png" data-mu-ie-matrix="progid:DXImageTransform.Microsoft.Matrix(M11=0.9744,M12=-0.225,M21=0.2 25,M22=0.9744,SizingMethod='auto expand')" data-mu-ie-matrix-dx="-4" data-mu-ie-matrix-dy="-5"/><!-- rasterized frame -->         <img class="grpelem" id="u24640" alt="" width="53" height="62" src="images/floating1000s5-u24640.png" data-mu-ie-matrix="progid:DXImageTransform.Microsoft.Matrix(M11=-0.9781,M12=-0.2079,M21=0 .2079,M22=-0.9781,SizingMethod='auto expand')" data-mu-ie-matrix-dx="-6" data-mu-ie-matrix-dy="-5"/><!-- rasterized frame -->         <img class="grpelem" id="u24618" alt="" width="39" height="39" src="images/floating1000sgreen-u24618.png" data-mu-ie-matrix="progid:DXImageTransform.Microsoft.Matrix(M11=-0.6018,M12=0.7986,M21=-0 .7986,M22=-0.6018,SizingMethod='auto expand')" data-mu-ie-matrix-dx="-8" data-mu-ie-matrix-dy="-8"/><!-- rasterized frame -->         <img class="grpelem" id="u24620" alt="" width="39" height="39" src="images/floating1000sgreen-u24620.png" data-mu-ie-matrix="progid:DXImageTransform.Microsoft.Matrix(M11=-0.6018,M12=0.7986,M21=-0 .7986,M22=-0.6018,SizingMethod='auto expand')" data-mu-ie-matrix-dx="-8" data-mu-ie-matrix-dy="-8"/><!-- rasterized frame -->         <img class="grpelem" id="u24610" alt="" width="115" height="119" src="images/floating1000sgreen-u24610.png" data-mu-ie-matrix="progid:DXImageTransform.Microsoft.Matrix(M11=-0.6428,M12=0.766,M21=-0. 766,M22=-0.6428,SizingMethod='auto expand')" data-mu-ie-matrix-dx="-25" data-mu-ie-matrix-dy="-23"/><!-- rasterized frame -->         <img class="grpelem" id="u24604" alt="" width="29" height="29" src="images/single100-u24604.png"/><!-- rasterized frame -->         <img class="grpelem" id="u24588" alt="" width="34" height="39" src="images/floating1000s5-u24588.png" data-mu-ie-matrix="progid:DXImageTransform.Microsoft.Matrix(M11=0.8572,M12=-0.515,M21=0.5 15,M22=0.8572,SizingMethod='auto expand')" data-mu-ie-matrix-dx="-8" data-mu-ie-matrix-dy="-6"/><!-- rasterized frame -->         <img class="grpelem" id="u24632" alt="" width="49" height="49" src="images/single100-u24632.png" data-mu-ie-matrix="progid:DXImageTransform.Microsoft.Matrix(M11=0.6691,M12=-0.7431,M21=0. 7431,M22=0.6691,SizingMethod='auto expand')" data-mu-ie-matrix-dx="-10" data-mu-ie-matrix-dy="-10"/><!-- rasterized frame -->         <img class="grpelem" id="u24638" alt="" width="59" height="51" src="images/floating1000s5-u24638.png"/><!-- rasterized frame -->         <img class="grpelem" id="u24584" alt="" width="34" height="34" src="images/single100-u24584.png" data-mu-ie-matrix="progid:DXImageTransform.Microsoft.Matrix(M11=-0.8387,M12=-0.5446,M21=0 .5446,M22=-0.8387,SizingMethod='auto expand')" data-mu-ie-matrix-dx="-7" data-mu-ie-matrix-dy="-7"/><!-- rasterized frame -->         <img class="grpelem" id="u24592" alt="" width="75" height="95" src="images/floating1000sgreen-u24592.png" data-mu-ie-matrix="progid:DXImageTransform.Microsoft.Matrix(M11=0.2924,M12=-0.9563,M21=0. 9563,M22=0.2924,SizingMethod='auto expand')" data-mu-ie-matrix-dx="-19" data-mu-ie-matrix-dy="-2"/><!-- rasterized frame -->        </div>        <img class="grpelem" id="u24602" alt="" width="19" height="19" src="images/single100-u24602.png" data-mu-ie-matrix="progid:DXImageTransform.Microsoft.Matrix(M11=-0.7431,M12=0.6691,M21=-0 .6691,M22=-0.7431,SizingMethod='auto expand')" data-mu-ie-matrix-dx="-4" data-mu-ie-matrix-dy="-4"/><!-- rasterized frame -->       </div>      </div>      <img class="grpelem" id="u24511" alt="" width="34" height="39" src="images/floating1000s5-u24511.png" data-mu-ie-matrix="progid:DXImageTransform.Microsoft.Matrix(M11=0.8572,M12=-0.515,M21=0.5 15,M22=0.8572,SizingMethod='auto expand')" data-mu-ie-matrix-dx="-8" data-mu-ie-matrix-dy="-6"/><!--<![endif]-->

    I see this is still an issue even after the latest update....  Will this problem be addressed?  Right now I have to manually update the html code for each page after export.    This is a site that I update regularly so every time a change is made I have to fix each page so it can be viewed without the black boxes in ie8.

  • Does rotating an image several times affect the quality?

    I'm using a template for a cd sleeve. One half of it is upside down so to work on the other half I have to rotate the image. I will have to rotate the image a hundred times before the project is finished.
    Does this affect the quality? If so, any workarounds for me?
    Thank you.

    As the previous poster said - use non-destructive transform methods wherever you can. Apart from that, note, that rotating in multiples of 90 degrees does not change the pixels' color and transparency information, as this always coincides with the imaginary rectangular/ square pixel grid and pixels only get re-arranged. Only rotations at different angles will enforce resampling, meaning that in particular edges will be recalculated to keep them visually smooth. Doing this multiple times will result in softening, as the way Photoshop works, it has no knowledge of previous transforms and will apply the full sampling again in a "dumb" manner. Smart objects avoid that limitation, as they concatenate operations, i.e. a rotation of +60 degrees followed by one -20 degrees will be treated as a single 40 degree rotation. Likewise, CS4's canvas rotation, is merely a secondary rotation applied to the screen buffer, not affecting the image itself.
    Mylenium

Maybe you are looking for

  • How to modify a standard badi

    Dear Freinds,               Could any one let me know how to modify the Badi HRHAP00_DOC_DEF_D1 . As i have tried to copy to a z one it is not allowing me to copy  why could any please let me know. regards syama.

  • Custom Metadata Observer

    Sorry for this question but I'm new on lua and the LR SDK I have the following problem: I have a custom metadata set with two fields, eg: 1: Name, Type string 2: URL, Type url, readOnly: true In the metadata tagset "URL" is hidden because it is empty

  • Odd Shutdown, changed Date and Time

    When I opened my Mac today, it didn't turn on which I found a bit odd, but I figured the battery had simply run out. I plugged it in, pressed the power button. It went to a grey screen for several moments, then loaded the Apple symbol, grey screen ag

  • Pixmantec Migration Tool is unusable

    First of all, I am very happy with the LR. In comparison to the RSP, the slow performance is compensated with a much better control of colors. (even if all cameras need to be calibrated for correct (red) colors?!?) Because I really archive all my pic

  • Mac Avid to Color and FCP

    A freind of mine--yes, honestly, there is a friend--has built a project in a Mac Based Avid Program. He no needs to take it to another person who will color correct it using Color in FCP. I am Mac only literate and don't have an answer. Can anybody g