Select part of image

Hi all,
I�m programming a Swing-GUI with serveral different Panel.
I want to be able to select an area within a ScollPanel I�m drawing a
rectangle using MouseListenerEvents and the draw-method, which I
implemented in an inner class.
My problem is, that I�m able to draw the rectangle over the whole GUI,
and not just the one ScrollPanel.
Does any of you have an idea, what I�m doing wrong? Any hints or
solutions are
very much appreciated.
Thank

hi
you can use quick selection tool,select the part of the image you want and then simply create a mask on that layer .
as you can see in this image i have just selected the rose flower
and below in the original image

Similar Messages

  • Adjusting Hue/Saturation for selected parts of image?

    1. Is there a way to adjust the hue/saturation for the Reds, greens or Blues in an image like you can in PS?
    2. Is there a way to make a selection and adjust the Hue/Saturation for just that selected part of the image?
    Thanks.

    The main toolbar is the one at the top of the program.

  • Possible to select parts of image/flash file?

    is it possible to select a certain part of an image [eg: A
    MAP] and show details accordingly.
    EG: if you click a certain region of map it will show
    region,km etc etc

    dispatching the event and setting the "prog" var to the % in
    which i want my meter to display
    //heres the flex side
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Canvas xmlns:mx="
    http://www.adobe.com/2006/mxml"
    horizontalScrollPolicy="off" verticalScrollPolicy="off"
    backgroundColor="#000000" width="100%" height="100%">
    <mx:Metadata>
    [Event(name="setMeter", type="flash.events.Event")]
    </mx:Metadata>
    <mx:Script>
    <![CDATA[
    public function populate(mySize:Number):void
    prog=mySize * 10;
    dispatchEvent(new Event("setMeter", true));
    ]]>
    </mx:Script>
    <mx:SWFLoader source="meter.swf" width="100%"
    height="100%" id="mtr1"/>
    <mx:Number id="prog"/>
    </mx:Canvas>
    what im doing here is adding an event listener from my
    embedded swf (4 parents deep).
    then setting a var(myFlex:Object) to the
    movieclip.parent.parent.parent which would be the flex movieclip
    then actually grabbing that var "prog" to figure out what
    level to set the meter.
    //heres the flash side
    stop();
    var mm:MovieClip = this;
    this.parent.parent.parent.parent.addEventListener("setMeter",
    cHandler);
    function cHandler(event:Event):void
    var myFlex:Object = mm.parent.parent.parent;
    mtr.gotoAndStop(myFlex.prog);
    i know there are definitely better ways to do this but it
    works for me. i have used the external interface class and local
    connection class but this works pretty well for me. im currently
    using the external interface with the yahoo maps api and it works
    really well but im having trouble using more than one external
    interface instance in the same app....so i went this route.
    http://livedocs.adobe.com/flex/2/langref/flash/external/ExternalInterface.html
    http://livedocs.adobe.com/flex/2/langref/flash/net/LocalConnection.html

  • CS5 - Applying Actions to Select Part of Image

    Hello,
    I'm working in CS5. I'm new to actions and I would like to apply the action only to a specific part of the image. For example, for a portrait, I would like the action to apply to the background of the image, not necessary on the individuals face.
    I'm not aware if there is a way to apply it to the entire image, then erase it from the areas I don't want it to apply, or if I lasso an area and apply it. I've tried it several different ways to no avail.
    Thanks in advance for any suggestions,
    Liv

    I would like the action to apply to the background of the image, not necessary on the individuals face.
    As the differentiation of fore- and background of an image can be a convoluted issue (have you ever tried to clip the image of a curly-haired person from a background of shrubbery?), it does not lend itself to automation easily.
    I'm not aware if there is a way to apply it to the entire image, then erase it from the areas I don't want it to apply
    If you work with Adjustment Layers or Layer Masks in general the Masks can subsequently be edited easily.

  • Free Transform multiple layers at the same time (only selected part)

    Hi,
    i have two layers - one contains color and second one contains outline. I want to select a part of the image and free transform both the layers at the same time. (so when i for example move or rotate the selected part of my example, both the color and outline moves at the same time). Layers must stay separated, process must be sort of quick, i would love to use this all the time when drawing etc.
    - Only way i managed to make this somewhat happen was to select the desired part of the image -> save the selection -> new layer via copy (on first layer) -> reselect the saved selection -> new layer via copy (on the second layer) -> select both of the new layers -> free transform. Warp doesnt work but other transforms do. But still this process is too slow and distracting even when having all the required commands hotkeyed. Is there a faster way?
    Any tips are welcome!

    @Trevor.Dennis
    i did understand, but as i said ctrl clicking the new layer only selects visible pixels in it, and my layers dont cover the whole canvas, especially not the outline layer, so ctrl click will only select that noodle of pixels and thats not usable in the other layer. (doing selection in the other layer first isnt a solution)
    Better description of what exactly im after:
    im manually drawing characters and i keep the their black "ink" lines/outlines on separate layer from the color layer. From time to time i want to transform small part of the character, lets say warp or rotate just its leg to fix or iterate, but i want to transform both the outline and color layer at the same time with that rotation so i see realtime how it looks. I would use this all the time if it was doable quickly. Transforms and puppetwarp are so powerful when drawing that as last resort i will have to switch to drawing everything on single layer.

  • Rotate part of image

    Hi,
    Total newbie here, so apologies for if this is very basic. How do I select and rotate by degrees part of an image and not just the image as a whole? Many thanks in advance. Ciaran

    Hi Ciaran,
    With your image open, you could use any of the selection tools to make a selection and then rotate that selection only.
    1. I chose the Elliptical marquee tool and dragged a circular selection onto my image.
    2. When you have your active selection (with the little marching ants), switch to your Move tool (basic black arrow), be sure that you have Show Transform Controls checked in the top menu. This will show you the small, square handles around your selection so that you can rotate it.
    3. Position your cursor around one of the corner handles until you see bent arrow, click and rotate the selection!

  • Extract part of image & save with transparent background

    What is the best way to extract part of an image & save it with a transparent background?  I had hoped to the extracted images in 2 different ways.
    Firstly just to paste into another image.
    Secondly I'd like to try to open both the extracted item as well as the whole original photo in different video editing programs including Premiere Elements & sony Vegas.  What is the best  way to do this?

    Here's what you could do.
    First make sure you have both images open in editor
    1. Open the image and select the area using the magnetic lasso/quick selection tool.
    2.  Select Layer -> New -> Layer Via Copy
    3. Now in the layers palette, right click the layer and select 'Dulicate Layer'
    4. In the duplicate layer dialog, in document - select the other image, where you would like to paste the image to.
    5. You and ajust the poition of the pasted area/resize it using the move tool or transform tool (Ctrl + T).
    6. Save the image with a new name
    If you simply want to save the image with transparency (after step #2) - you may -
    > hide the previous layer and Save the image as a png/gif so transparency is presereved.
    Hope that helps.
    When you have teh saved documents you can open them up in different editors.
    Regards,

  • FCP X, Can I select part of a sequence to make a DVD

    A client gave me his camcorder and asked me to transfer the footage to DVD. I've got over 4.5 hours on the time line and still have lost more to do. Can I select part of the timeline to make a DVD (say by year)? Is there a better way to do this, perhaps create a file like a .mov and put it on a drive that they could connect to a TV if that's even possible.
    I'm open to all suggestions.

    FCPX 10.0.6
    I haven't seen any docs that say you can share anything less than a "project". I just tried it here: opened a project, selected two discontiguous clips, and clicked Share to DVD. It created a DVD image of the whole Project. Same thing happened when I shared a 720p version to iTunes -- it created a video of the whole project/timeline.
    Why not create a new Project for each DVD you want to create?
    (The first sentence of the second paragraph of my earlier post may been confusing. The raw materials belong in the Event library as one or more Events. A Project is what you want to deliver to the 'customer'. Several Projects can be built from one or more Events. "tplynchy" may want to produce a DVD of clips from "1998", so desirable segments from the camcorder tape's event(s) should be assembled into a Project named "1992" and then shared in one or more forms.
    (There should never been 4.5 hours of material in a project's Timeline.)

  • I am trying to use photomerge compose.  I open one standard jpeg image and one image that is my business logo in a png format.  When I select the png image, to extract the logo from it, it appears as all white and will not allow me to select the logo from

    I am trying to use photomerge compose.  I open one standard jpeg image and one image that is my business logo in a png format.  When I select the png image, to extract the logo from it, it appears as all white and will not allow me to select the logo from it.  It has worked in the past but I downloaded the update today and photomerge will not work correctly.  Any ideas?

    hedger,
    How do you expect anyone to help when we don't know a darned thing about the file, abut your setup, exact version of Photoshop and your OS, machine specs, etc.?
    BOILERPLATE TEXT:
    Note that this is boilerplate text.
    If you give complete and detailed information about your setup and the issue at hand,
    such as your platform (Mac or Win),
    exact versions of your OS, of Photoshop (not just "CS6", but something like CS6v.13.0.6) and of Bridge,
    your settings in Photoshop > Preference > Performance
    the type of file you were working on,
    machine specs, such as total installed RAM, scratch file HDs, total available HD space, video card specs, including total VRAM installed,
    what troubleshooting steps you have taken so far,
    what error message(s) you receive,
    if having issues opening raw files also the exact camera make and model that generated them,
    if you're having printing issues, indicate the exact make and model of your printer, paper size, image dimensions in pixels (so many pixels wide by so many pixels high). if going through a RIP, specify that too.
    etc.,
    someone may be able to help you (not necessarily this poster, who is not a Windows user).
    a screen shot of your settings or of the image could be very helpful too.
    Please read this FAQ for advice on how to ask your questions correctly for quicker and better answers:
    http://forums.adobe.com/thread/419981?tstart=0
    Thanks!

  • When I try to move from one selected image to selecting a different image, lightroom (new install of Lightroom 5.5) will keep the previous image selected, so I always end up with two selected images - why?

    For example, I will select the first image in my grid view, then let's say I want to work on the fifth image. When I click on the fifth image, Lightroom leaves image one selected, as if I have held down the Command or the Shift key to select multiple images.  This is not what I expect. Then I am forced to command click the image I no longer want selected - this happens every time I try to move to any new image - the previous one(s) stay selected.  I have tried a reboot of my machine but still this happens.  Also, as a further bug, if I leave my grid with no images selected at all, after a few seconds Lightroom automatically selects the first two images in my library and highlights them - without my even pressing a key!  This is really weird behaviour. It's really frustrating as I like to use my keyboard arrow keys to move through my library of images, but when Lightroom keeps two images selected it just ping pongs between those two images.  I deselect and try to move on, and it again leaves the previous image selected!  By the way - I am not in Compare mode while this is happening - just in standard browsing of the library...  Help please!
    kind regards,
    oMac

    For example, I will select the first image in my grid view, then let's say I want to work on the fifth image. When I click on the fifth image, Lightroom leaves image one selected, as if I have held down the Command or the Shift key to select multiple images.  This is not what I expect. Then I am forced to command click the image I no longer want selected - this happens every time I try to move to any new image - the previous one(s) stay selected.  I have tried a reboot of my machine but still this happens.  Also, as a further bug, if I leave my grid with no images selected at all, after a few seconds Lightroom automatically selects the first two images in my library and highlights them - without my even pressing a key!  This is really weird behaviour. It's really frustrating as I like to use my keyboard arrow keys to move through my library of images, but when Lightroom keeps two images selected it just ping pongs between those two images.  I deselect and try to move on, and it again leaves the previous image selected!  By the way - I am not in Compare mode while this is happening - just in standard browsing of the library...  Help please!
    kind regards,
    oMac

  • I can not print only a selected part of a page

    I have reset the print.print_printer and still can't print only the selected part of a page. I highlight what I want to print and use control P to get to the printer setup. Then I click the selection button and then OK. The preview screen shows what would print but the page has blank space above what was selected. This has only started to happen since the upgrade to FF 11.0. I have tried the same operation using IE and it works fine. please, is there a fix for this??

    Hi jweigh,
    This is a known bug. You should take a look at this thread:
    https://support.mozilla.org/en-US/questions/923294
    See the last post by Cww.
    Hopefully this helps!

  • How to print selected parts of a webpage

    How can I print selected parts of a webpage (or more than one), without printing whole pages? Screen shot is nor effective for what I want.

    See Print Selection Service here:
    http://www.schubert-it.com/free/

  • How can I slow down the playback speed of selected parts of a captivate video?

    Hi everybody,
    I'm pretty new to Captivate and although it offers some great tools, there is something that I just can't get to work:
    I'm creating a video tutorial about how to use a website i'm working with so I've tried using "Automatic" ("Demo" mode chosen) recording option which is recommended for this type of video. However, the video recorded has a different playback speed than the amount of time I recorded. This means that some of the slides have a quicker playback speed than the way I recorded, thereby not leaving enough time to show the given feature.
    The recording mode with the most "true" playback was "Full motion". However, I would still like to be able to slow down selected parts of the video, but can only find guides on how to slow down the entire presentation.
    Can you please advise me on how to slow down only selected parts of the project? If this is not possible in Captivate, please advise me on which video editing software (where you can slow down the playback speed on selected parts of the video) is compatible with Captivate 5?
    Thanks!

    Thank you. Andrew Kramer's Video Copilot video, which I somehow managed to miss, was very helpful.
    I had a 79 second clip which I precomposed and enabled time remapping. But I have 12 places where I need to slow down the layer. After a while, I was runing out of room to add more keyframes using the method promoted in many videos and instruction sites (grab the last two keyframes, including the end frame, and drag).
    In reality, you can add keyframes wherever you like and you can adjust them however works best within the existing timeline without messing with the duration, etc.
    Much appreciated.
    Paul

  • In bridge i select a jpg image with cntrl r to open in camera raw but get "camera raw not avail"

    In bridge i select a jpg image with cntrl r to open in camera raw but get "camera raw not available"  camera raw editing requires that a qualifying product has been launched at least once to enable this feature.  I can open nef. in camera raw with no problem.

    Hm, what I suggested might actually be a possibility then...
    Close whatever version you have open first...
    I think Adobe installs shortcuts for both 32 and 64 bit Photoshop in the start menu.
    If you can't find the 32 bit Start menu entry, look for the 32 executable here (changing the CS version number to whatever yours is):
    C:\Program Files (x86)\Adobe\Adobe Photoshop CS5\Photoshop.exe
    -Noel

  • Fcpx - after selecting part of a clip, marking in and out, pressing the e key does not add it to the timeline.  what do I do?

    At the Mac store they showed me how to select part of the clip, Mark in an out, and then use the key board shortcut, the E, to move back down to the end of the timeline. At home it refuses to do that. I can't even drag it down. I am using Snow Leopard, not lion. Can anybody tell me why I can't get the material down to the timeline except as an entire clip?

    I was stuck in this exact same position yesterday, and wow was it ever frustrating. I can't remember the exact steps I stumbled upon to figure it out, but basically you need to create a "project" (not a "sequence" like you'd think - there is no "new sequence" command in FCP X) and that "project" will in fact be the sequence you are able to add your selections to.
    The same real estate the sequence lives in is also where the "project library" lives, which will overtake your sequence if invoked - look to make sure the film reel icon at the bottom left of the screen is not active (blue). If it is active, click it to make the project libary go away.
    I'm still struggling with FCP X as a long time professional FCP 7 user, and from what I've read this isn't uncommon. Best of luck getting past these fisrt few awkward hurdles and onto the actual editing (which, I have to say, so far I am having a hard time being precise or creative with).

Maybe you are looking for

  • How can I delete SKYPE to GO - my account has been...

    How can I delete SKYPE to GO???? My account has been hacked and a SKYPE to Go account has been set up with I number I am unable to delete. It has proved impossible to contact anyone at SKYPE to inform them of this and to ask for assistance in deletin

  • Passing Date as IN parameter

    Hi Gurus, I have already searched teh discussion forums but couldn't find any solution. I have a SP in which I want to pass an IN parameter as Date datatype. While running the SP how to pas Date value as IN param? For eg If I need to pass 05-09-2007

  • How to encrypt excel file data using triple DES algorithm in oracle

    Hi, I would like to know the process or script to encrypt/decrypt the excel file data using triple DES algorithm in oracle.

  • PHP on jsp site

    Hi all, I have a problem. We have a portal (weblogic) and we want to integrate into portal sites that developed in php. Is this possible? Thank you Tamas

  • Relocate fragment library

    We're new to LiveCycle Designer (ES2) standalone. My coworker created a form using fragments, but the fragments are stored in her "My Documents\My Fragments" folder. We moved the fragments to a shared folder and now the PDF forms can no longer find t