Moving images with alpha

In Pages '09, images with alpha channels can be difficult to deal with, especially if the alpha is a bigger part of the object than the non-alpha portion.  The issue is that you cannot move an object by clicking on an area that is transparent.  For most images, this is intuitive and helpful, but for some things it is infuriating.  For example, when pasting in a PDF or image object of a MathType equation, it is quite difficult to reposition the image quickly, because great care must be taken to click on a letter in order to drag the object.  To make matters worse, the edge detection of the non-alpha portions of the object is not extremely precise, so it can appear that you are clicking on a legal part of the image, but you will get no response from pages.
My question is this: do any of you know if there is a preference somewhere that controls whether alpha is selectable or not?  I would just like to be able to click anywhere in the image box and move the image.  It doesn't matter if it is a support preference or requires fiddling with a plist somewhere.  Anything would be helpful.  Thanks.

Dream on,
Well, the World needs more Yoyo Ma types, so I hope you are successful.
If you Command-Click in the Margin and Drag across the page, you will catch the object in a wide net. Then you can manipulate it with the arrow keys, or Shift-Arrow for larger moves.
Jerry

Similar Messages

  • Export PNG images with alpha channel from flash

    Hi,
    I have this FLA with animation and when played, the animation has alpha channel. I can’t understand why when I look in the library I see the frames without the alpha channel and also when I try to export/extract the image again the image don’t have alpha channel.
    How is it that in flash this image has alpha channel and how to get it out like that into PNG?
    Here is the link to download the FLA:
    http://download759.mediafire.com/nb749r29220g/e0636ab0ru6ouoa/Untitled-1.fla

    "when played, the animation has alpha channel"
    how are you playing the animation? control/enter in Flash, Publishing to a Web page or what?
    How can you tell that the animation has the alpha channel? What exactly are you seeing?
    What is the aniimation? a series of images, one image moving? Are teweens imvolved?
    " when I try to export/extract the image again the image don’t have alpha channel"
    How are you exporting the image? is it a single image? or a series of frames that makes up an animation?
    What was the file format of the original image? you brought that image into Flash and animated it? Now you want to export as a .png with transparency?
    Have you ever tried to export a  simple .png before so that you see and understand the dialog box that pops up during export? are you chosing "24 bit with alpha channel" in the "Colors" choice?
    For those of us who may not want to download your file, please provide a more detailed describtion of everything related to this question.
    Best wishes,
    Adninjastrator

  • Graphics, ImageIO, and 32-bit PNG images with alpha-channels

    I have a series of 32-bit PNG images, all with alpha channels. I'm using ImageIO.read(File) : BufferedImage to read the PNG image into memory.
    When I call graphics.drawImage( image, 0, 0, null ); I see the image drawn, however all semi-transparent pixels have a black background, only 100% transparent pixels in the source image are transparent in the drawn image.
    The Graphics2D instance I'm drawing to is obtained from a BufferStrategy instance (I'm painting onto an AWT Canvas).
    Here's my code:
    Loading the image:
    public static BufferedImage getEntityImage(String nom, String state) {
              if( _entityImages.containsKey(nom) ) return _entityImages.get( nom );
              String path = "Entities\\" + nom + "_" + state + ".png";
              try {
                   BufferedImage image = read( path );
                   if( image != null ) _entityImages.put( nom, image );
                   return image;
              } catch(IOException iex) {
                   iex.printStackTrace();
                   return null;
         private static BufferedImage read(String fileName) throws IOException {
              fileName = Program.contentPath + fileName;
              File file = new File( fileName );
              if( !file.exists() ) return null;
              return ImageIO.read( new File( fileName ) );
         }Using the image:
    Graphics2D g = (Graphics2D)_bs.getDrawGraphics();
    g.setRenderingHint( RenderingHints.KEY_ANTIALIASING , RenderingHints.VALUE_ANTIALIAS_ON);
    public @Override void render(RenderContext r) {
              Point p = r.v.translateWorldPointToViewportPoint( getLoc() );
              int rad = getRadius();
              int x = (int) p.x - (rad / 2);
              int y = (int) p.y - (rad / 2);
              BufferedImage image = Images.getEntityImage( getCls(), "F" );
              r.g.drawImage( image, x, y, null );
         }

    You may want to check on you system and see what ImageReaders are available, it could be ImageIO is just not picking the best one, if not, then you can use getImageReaders to get an iterator of image readers, then choose the more appropriate one.

  • Moving Images with the mouse

    Sorry I am still fairly new to Java. I have a project due that will require me to move images with the mouse. And I was wondering if someone could give me the basics of doing this. Right now I only need to know how to move the image any where on the screen.

    sweety_baby wrote:
    It's not so usefull nebody plzz help me i wanna code for movinag an image from one place to another in frame
    plzzzzzzzz help me out its urgentIf it's so d�mn urgent, then why
    1) dredge up a thread that's more than 2 years old, and
    2) provide us with hardly any information about your problem, what you've done, what's worked, what's failed.
    Result: request denied.

  • Moving image with the mouse?

    I have several Images which I paint directly on a panel. If the mouse pointer is over an image and the user holds the mouse button pressed he shall be able to move the image.
    How would you solve that? I mean there is no contains() method in a Image class so that I would be able to check if the mouse location is over a image or not (and over which in particular).
    Any ideas?

    Then it would look like this:
         void panel_mouseDragged(MouseEvent e) {
              Contianer c = this.getParent();
              if (c instanceof JViewport) {
                   JViewport jv = (JViewport) c;
                   Point p = jv.getViewPosition();
                   int newX = p.x - (e.getX() - m_XDifference);
                   int newY = p.y - (e.getY() - m_YDifference);
                   int maxX = this.getWidth() - jv.getWidth();
                   int maxY = this.getHeight() - jv.getHeight();
                   if (newX < 0)
                        newX = 0;
                   if (newX > maxX)
                        newX = maxX;
                   if (newY < 0)
                        newY = 0;
                   if (newY > maxY)
                        newY = maxY;
                   jv.setViewPosition(new Point(newX, newY));
         void panel_mousePressed(MouseEvent e) {
              setCursor(Cursor.getPredefinedCursor(Cursor.HAND_CURSOR));
              m_XDifference = e.getX();
              m_YDifference = e.getY();
         void panel_mouseReleased(MouseEvent e) {
              setCursor(Cursor.getPredefinedCursor(Cursor.DEFAULT_CURSOR));
         }Look at http://forum.java.sun.com/features.jsp#Formatting

  • Moving images with transparency

    Hi,
    I am quite new to keynote so hope this is not smt already solved in someway.
    I just noticed you cant move or select an object that has transparency so easily. An example would be a formula I copied from word. if I click in a transparent spot I cant do anything. But if I click on a "+" or anything black, it works. I don't suppose this was intended, if it is, it sure is annoying. If there is a solution you know, I would very much like to know.
    Thanks!

    I noticed that. but still, if you click on a transparent spot, it deselects the object and do nothing. you can still move it by the arrow key but that takes a bit long for a simple move.

  • Rotation with alpha'd Images

    Hi, I'm in the process of writing a little top down game in Java (its amazing how little you can get away with for a Uni Honours project nowadays), but rather than forcing myself to draw individual frames for each new direction my sprite I would like to take one sprite strip and rotate it at run-time to form the new directions (this doesn't seem that slow in tests so far). The only problem is when I rotate GIF images with alpha channels using the JAI RotationTransformation it re-draws the alphaed components with a black background.
    Does anyone know of a way to ensure that I can maintain my alpha channel in the images? I'm not set on using JAI for the transformations so if there is another way I'd be more than willing to have a look at that.
    Many thanks
    E.Laverick

    I believe the fundamental problem is creating an image which is entirely transparent onto which to draw the rotated image. That may give you some ideas. Another approach which may work is to use an RGBImageFilter, although I'm not confident that they support playing around with alpha. You could also try searching the Java2D forum for keywords like alpha and transparency - although I'd hope you've already done that.

  • ImageIO PNG Writing Slow With Alpha Channel

    I'm writing a project that generates images with alpha channels, which I want to save in PNG format. Currently I'm using javax.ImageIO to do this, using statements such as:
    ImageIO.write(image, "png", file);
    I'm using JDK 1.5.0_06, on Windows XP.
    The problem is that writing PNG files is very slow. It can take 9 or 10 seconds to write a 640x512 pixel image, ending up at around 300kb! I have read endless documentation and forum threads today, some of which detail similar problems. This would be an example:
    [http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6215304|http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6215304]
    This surely must be resolvable, but after much searching I've yet to find a solution. If it makes any difference, I ONLY want to write png image, and ONLY with an alpha channel (not ever without), in case there are optimisations that that makes possible.
    If anyone can tell me how to address this problem, I'd be very grateful.
    Many thanks, Robert Redwood.

    This isn't a solution, but rather a refinement of the issue.
    Some of the sources I was reading were implying that the long save time might be due to a CPU heavy conversion process that had to take place before the BufferedImage could be saved. I decided to investigate:
    I loaded back in one of the (slowly) saved PNG images using ImageIO.read(file). Sure enough, the BufferedImage returned differed from the BufferedImage I had created. The biggest difference was the color model, which was DirectColorModel on the image I was generating, and was ComponentColorModel on the image I was loading back in.
    So I decided to manually convert the image to be the same as how it seemed to end up anyway. I wrote the following code:
          * Takes a BufferedImage object, and if the color model is DirectColorModel,
          * converts it to be a ComponentColorModel suitable for fast PNG writing. If
          * the color model is any other color model than DirectColorModel, a
          * reference to the original image is simply returned.
          * @param source The source image.
          * @return The converted image.
         public static BufferedImage convertColorModelPNG(BufferedImage source)
              if (!(source.getColorModel() instanceof DirectColorModel))
                   return source;
              ICC_Profile newProfile = ICC_Profile.getInstance(ColorSpace.CS_sRGB);
              ICC_ColorSpace newSpace = new ICC_ColorSpace(newProfile);
              ComponentColorModel newModel = new ComponentColorModel(newSpace, true, false, ComponentColorModel.TRANSLUCENT, DataBuffer.TYPE_BYTE);
              PixelInterleavedSampleModel newSampleModel = new PixelInterleavedSampleModel(DataBuffer.TYPE_BYTE, source.getWidth(), source.getHeight(), 4, source.getWidth() * 4, new int[] { 0, 1, 2, 3 });
              DataBufferByte newDataBuffer = new DataBufferByte(source.getWidth() * source.getHeight() * 4);
              ByteInterleavedRaster newRaster = new ByteInterleavedRaster(newSampleModel, newDataBuffer, new Point(0, 0));
              BufferedImage dest = new BufferedImage(newModel, newRaster, false, new Hashtable());
              int[] srcData = ((DataBufferInt)source.getRaster().getDataBuffer()).getData();
              byte[] destData = newDataBuffer.getData();
              int j = 0;
              byte argb = 0;
              for (int i = 0; i < srcData.length; i++)
                   j = i * 4;
                   argb = (byte)(srcData[i] >> 24);
                   destData[j] = argb;
                   destData[j + 1] = 0;
                   destData[j + 2] = 0;
                   destData[j + 3] = 0;
              //Graphics2D g2 = dest.createGraphics();
              //g2.drawImage(source, 0, 0, null);
              //g2.dispose();
              return dest;
         }My apologies if that doesn't display correctly in the post.
    Basically, I create a BufferedImage the hard way, matching all the parameters of the image I get when I load in a PNG with alpha channel.
    The last bit, (for simplicity), just makes sure I copy over the alpha channel of old image to the new image, and assumes the color was black. This doesn't make any real speed difference.
    Now that runs lightning quick, but interestingly, see the bit I've commented out? The alternative to setting the ARGB values was to just draw the old image onto the new image. For a 640x512 image, this command (drawImage) took a whopping 36 SECONDS to complete! This may hint that the problem is to do with conversion.
    Anyhow, I got rather excited. The conversion went quickly. Here's the rub though, the image took 9 seconds to save using ImageIO.write, just the same as if I had never converted it. :(
    SOOOOOOOOOOOO... Why have I told you all this?
    Well, I guess I think it narrows dow the problem, but eliminates some solutions (to save people suggesting them).
    Bottom line, I still need to know why saving PNGs using ImageIO is so slow. Is there any other way to fix this, short of writing my own PNG writer, and indeed would THAT fix the issue?
    For the record, I have a piece of C code that does this in well under a second, so it can't JUST be a case of 'too much number-crunching'.
    I really would appreciate any help you can give on this. It's very frustrating.
    Thanks again. Robert Redwood.

  • Use images with instant alpha in smart build?

    I have a few logos with solid backgrounds that I would like to use in a smart build with the backgrounds removed. I can put the logos in the smart build with and I can also remove the backgrounds using instant alpha. I cannot figure out how to put the logos with the background removed into the smart build. Perhaps this is not possible since the instant alpha effect is non-destructive and doesn't truly change the image file? Any help or suggestions would be appreciated.

    Check this thread.
    http://discussions.apple.com/thread.jspa?messageID=6497364&#6497364
    What you have to do it "set" the image WITH the Instant Alpha before using it in a Smart Build.

  • Need to make a 20 second HD clip with a moving image background and text thats flies in...

    Hi all im quite new to after effects and need to make a 20 second HD clip with a moving image background and text thats flies in. I also need to create a basic cross image. If anyone could suggest the best way to go about doing this it would be greatly appreciated. Thank you in advance

    Thank you for both of your reponses and I will try and be clearer:
    what I want to acheive is a HD motion graphic of text which will almost spin onto the screen letter my letter and then a become static word. Behind this I would like to place a moving image clip.
    By 'basic cross image' what im looking to do is use a cruifix shape instead of a 't' on the text.
    I hope this makes sense and thanks again!

  • Import image seq with alpha ?

    Hi again,
    Im trying to import in FCP an image sequence (tiff or tga) with alpha channel and i cant..I look in the manual and it says that i must first go to quicktime to convert to mov etc but what ill do with alpha channel ? i need it cause the seq is from a vfx..
    Any suggestions ?

    you need to export the movie out from Quicktime Player using a codec that supports an alpha channel. built-in, you can use Apple's "Animation" codec but thats a seriously heavy codec to work with, instead you may want to download a third party codec to use as an intermediate
    Avid's Quicktime codecs have alpha support and are freely available from their website

  • Changing an image with an alpha to a layer

    OK this is going to be tricky to explain. I have an image...it's a house I rendered in Cinema 4D. It has an alpha channel which of course is the outline of the house. I'd like to edit the house...for example, make the roof wider. Of course I can do this, but I can't have it edit the alpha, too. Is there any way to do this? I know you can create layers and delete the edges of an object and do it that way...but my image is flat with an alpha channel. Is there a way to convert my house to a layer and have the black erased?
    Ultimately, I'd like to take my image and then add a layer and copy the house to a layer, and not have the black background come with it. I would assume there's a way to convert an image with an alpha channel to a new layer, but I'm not sure how

    Another way...(Assuming I read what you want correctly. lol.)
    On the layers panel drag the little lock, side of the layer to the trash can, this will convert the background layer to a normal layer.
    In the menu goto select>Load selection - For the channel select your alpha channel. (This uses your alpha channel for a selection)
    Make sure your layer is still selection if you have more than one layer
    Select the third from the left icon at bottom of layer panel (looks like a square with a circle in the middle) This will create a mask using the selection.
    Now what was white in the alpha chanel is visible and what was black is now transparent.
    Now your image has a mask and since there is a link between the two you can scale the image and the mask at the same time.

  • Replace branding image with moving image

    hi experts,
      i want to replace branding image .jpg(i.e on login screen ) with any flash movies kind of thing or like any moving image.
    my question, is it possible to have that option in loginscreen .
    if yes could anybody help me on this issue in details.
    thanks in advance.
    vijay

    Hi,
    I think it is possible to change Branding Image. Refer this blogs
    Re: Changing standard logon sap page
    Modifying The Logon Par(or customising the Logon Screen)
    Portal Customizations Intro - Login Part 1
    A fast and easy Portal logon page customizing
    Regards,
    Senthil K.

  • Cracked glass image with transparency (alpha) for overlay?

    Any know of a nice cracked glass image PNG file that has transparency (alpha) I could use? 
    The idea is that it could be overlaid on top of other images so you could still see the photographs behind, but it would be like they are behind cracked glass.
    Alternatively, if there are no direct images that match this requirement, then how would I transform easily a photo of cracked glass to one with alpha/transparency? 

    1. Desaturate Glass layer.
    2. Make two copies of the desaturated glass layer. Turn off all three of the visibility eyes for these layers in the layers palette.
    3. Turn on the first glass desaturated layer by clicking the eye in the layers palette. First glass desaturated layer (one directly above image) place in Screen blend mode; 100% opacity. If the glass has a hole, use a layer mask or erase to punch a hole in the desaturated layer. Use the levels command to set the glass so to taste...use black slider to push grays to black and use the middle gray slider in the dialog to control transition between black and white. You can also adjust the white slider if desired. Note: If you added a layer mask, click on the desaturated glass image to insure you are using the levels command on the image not the mask.  (Tip: shortcut on PC for levels is Ctrl + L on Mac it is Cmd + L.)
    Note: If you need to punch a hole in the image, it's easiest done in Normal blend mode; 100% opacity. Use the quick select tool if you have a version of elements that includes this tool. If you have an older version of Elements before this tool was introduced, the magic wand should also do the trick.
    Note: If you punched a hole in the glass save this selection so you can reuse it. Select<Save Selection. You can load this selection again if needed using select<Load selection.
    You only need to go to step #4 if you punched a hole in your glass.
    4.Go to the first desaturated glass copy (one directly over the one you did in step #3...you should have one above it.) and turn on it's eye visibility in the layers palette.  As before, set this layer to Screen blend mode: 100% opacity. Mask or erase so this layer effect will be limited to the edge of the hole and some of the glass around the edge. Use the levels command to adjust the contrast around the hole. You should concentrate on the white slider and the middle gray to make the hole edges look correct.
    Note: To make this easy on myself, I used Select<Load Selection then Select<Inverse before painting back the edge of my glass hole.
    5. Optional: Go to the last desaturated glass copy (this one should be on top of your layers palette stack.) and turn on this layer's eye. Change the blend mode of this layer to Soft Light  blend mode and adjust the opacity to taste.
    Above shows my layers using Photoshop. In Elements, the layers will be the same although your user interface will differ. If you have PSE 9, you can use layer masks as I have...see PSE9 layer mask video link I have linked below.
    http://www.photoshopelementsuser.com/featured/elements-9-easy-layer-masks/
    If you do not have PSE 9, you can either use the eraser tool to erase what you do not need or use a clipping mask or clipping group. (Same thing different name. PSE 8 and PSE 9 call this a clipping mask while all older versions of Elements call this a clipping group.
    See tutorial below if you need a tutorial on clipping mask/clipping group.
    http://www.photokaboom.com/photography/learn/Photoshop_Elements/layers/layer_groups_clippi ng_masks/1_layer_groups_clipping_masks.htm
    Alternate method:
    You can also use Photoshop brushes and some white paint. Look for brushes that are high resolution...large pixel size...as the smaller brush sizes will be blurry if you have to size them up. These brushes can usually be found using shattered, shatter, broken, smashed, or cracked in the search term. These two sets are nice high resolution sets:
    http://archaii.deviantart.com/art/Shatter-Glass-brushes-82308115
    and
    http://archaii.deviantart.com/art/Shatter-v2-New-101049266
    Many more sets are out there on the net at this site and others. This set caught my eye as the brushes look nice and are big brushes. (Keep in mind brushes can be no more than 2500 px in height or width if you think about making brushes from your own images. Brushes that are small sized get blurry when brush tip size is increased so try to make them as large. This is why I suggest looking for large high resolution brushes to begin with.

  • Youtube on iPhone 4 plays videos with sound but no moving image

    When I try to play a youtube video I do have sound but no moving image.
    Can anybody help me how to solve this problem? Other apps that play video work just fine.
    I have an iPhone 4 16GB OS 4.1.

    After a reset it worked again!

Maybe you are looking for