Free drawing on the image

I would like you to develop an application that allows the user free draw on his imported images. They can draw a line, Rectangle, add textbox and set the contrast images. Anyone have ideas on this? Thank you!!

These questions are probably out of the scope of what we can answer here, but here are a few links to help you get started:

http://www.rogue-development.com/objectHandles.XML

http://dougmccune.com/blog/2007/06/11/imagesnapshot-class-in-Flex-3-SDK/

You can also see the yahoo programmers group.

Tags: Flex

Similar Questions

  • Fill color changing problem after the drawing of the image?

    I use illustrator cc 2014 to draw a jpeg image. After tracing, I want to change the color of the resulting image. The default color after tracing is black but the color of picture fill shows like an exclamation mark and when I change the color of the entire artboard gray towers no matter what color I choose. I know that the document is in CMYK mode. We know what is happening here?

    Read the manual on transparent records, groups and all kinds of hierarchies that Illustrator can create. Then learn how to select things.

    If you want to make this easier, you can also take a look at edit > edit colors > Recolor art.

    Also: read the instructions on how it works. You need to "unlock" black and white to recolor.

  • free to transform the image

    Hi Forum!

    IM new to scripting. Thanks to the forum for the sharing of knowledge to the world...

    I have a small request to do with scripting.

    I have grouped all the pageItems... like G.

    then selected group (G),

    I chose the free transform by using the command tool;

    app.menuActions.itemByID (45569) .invoke (); Select the free transform tool.

    all I have to do is... to enlarge the size of the Group (G) proportion between the top margin and bottom margin.


    (which do us it manually by selecting the group element Shift + Alt key and dragging until we reach the size of desire).

    g = app.activeDocument.allPageItems;

    GR = app.activeDocument.groups.add (g);

    app.menuActions.itemByID (45569) .invoke ();

    Then I need to increase the height of group g between the top margin and bottom margin.

    Can anyone help this free transformation of the selected group.

    Please...

    Dhinak...

    try sth like:

    var g = app.activeDocument.allPageItems;
    var gr = app.activeDocument.groups.add(g);
    var bgr = gr.geometricBounds;
    var hgr = bgr[2]-bgr[0];
    
    var pm= gr.parentPage.marginPreferences;
    with(pm)
    {
    var t = top;
    var b = bottom;
        }
    
    gr.move([bgr[1],t]);
    
    var hn = gr.parentPage.bounds[2] - gr.parentPage.bounds[0] - t - b;
    var s = hn / hgr ;
    tM = app.transformationMatrices.add({horizontalScaleFactor:s,   verticalScaleFactor:s});
               gr .transform(CoordinateSpaces.INNER_COORDINATES,   AnchorPoint.TOP_CENTER_ANCHOR, tM ); 
    
  • Bitmap to draw on the Image

    Hello

    You can't just add the BitmapData to a Bitmap and add that as a child on the object?

    If for some reason you need to shoot it in the graphics of the object object, then I think you need to use something with a combination of an translation matrix and drawRect().

  • Draw freehand on the container to Image Vision - are part of the Image

    Hello people.

    You want to do a random draw on the fly on a 8-bit grayscale image into a container of Vision.  I then want to merge this draw with the actual image.  I suppose that the draw is an overlay.  Vision has a superposition of merge command that requires RGB destination.  I then used the IMAQ extracted SingleColorPlane to extract the plan of the intensity of the RGB image so that I can return to the plan format unique (U8) use IMAQ ImagetoArray fx to get to a table.  I tried to extract a number of different types of aircraft, but do not see my line on the resulting table (which I display in a graph of intensity).  I don't see the original image.

    Any thoughts on the best way to accomplish a merger of the draw and the original image?

    Thank you

    Don

    I write an example showing my current best effort quick a solution non-Vision, not covered with this problem. This approach was mentioned in my previous post.  I will cross-post this in the forum LabVIEW also since it is a solution of pure-LabVIEW.  It is difficult for me to believe that we can not directly to these "overlay" information using NI Vision NI LabVIEW.

    After the line drawn for all positions of the cursor (cursor) feather flying over the interpolation is required. I used the factor 10 and spline interpolation.

    Drawing of the points on the graph of the intensity, rather than lines, did not work well, because with my code, I'm clearing missing events related to seize all slider positions.

    Feel free to let me know if you can do better.

    Sincerely,

    Don

  • In the 'paint', how can I reverse the image of a drawing: I would like a black background with white lines.

    I have a few line drawings for which I would like to return to the background and colors of drawing. I need assistance browsing through the steps, using the tools of "painting".

    Original response

    I don't know that you can do in painting.

    But you can do it in Paint.net (free).


    -Goto http://www.getpaint.NET/index.html Download (AV check for reasons of security, but its fine) and install Paint.Net


    There are some downloads on this page, look for:

    Get it now (free download):
    Paint.NET v3.5.10



    Open the images in Paint.Net and pick "Settings" "Invert colors" and it seems to do what you want (I think).


    It will be useful.

    Late EDIT - sorry, bit more tweaking, it seems you can do it in paint.

    1 load the image

    House 2 - Select - Select all

    3 your selected image right-click and click "Invert colors".

    There is also a shortcut keys, just press the keys all at the same time. (Control Shift I have)

  • How to draw two points simultaneously on the image?

    I want to draw two points at the same time on an image. I tried to use IMAQ point overlay and IMAQ meter for point. But when I try to plot two points using one of these two screws, I can't find a single point is plotted. How to solve this problem?

    intensity wrote:
    I want to draw two points at the same time on an image. I tried to use IMAQ point overlay and IMAQ meter for point. But when I try to plot two points using one of these two screws, I can't find a single point is plotted. How to solve this problem? If your image is zoomed out, the size can be to small to allow a good drawing of the point. Otherwise, IMAQ ecaple point works perfectly...

  • Draw the relationship of the Image (ERD)?

    Lets say I have a set of steps to perform.  And each stage has a goto end define where to go in what conditions.  Each step is very basic and will not pass to one of the two places.  I would like the user to be able to view this stream and the relationship with an image that's not represented as bubbles, or boxes, and arrows are going at various other stages with the condition along the arrow.

    The deadline that I've seen is the tool yED found here, who can work on an excel file, define the elements and their relationships. Unfortunately this cannot be invoked programmatically and is somewhat what I want.

    I saw some people to write their own code to show in a picture 2D but control that looks like a lot of work.

    I currently do not have Visio, but is this an option?  It seems more killing.

    Are there other tools or options people have found, for the drawing of an image that has arrows pointing to the steps of the steps?  Currently, I have no requirements on what it looks like if fundamental is fine.  Of course, as soon as the user gets it they will probably notice.

    EDIT: It seems this type of diagram called a diagram of the relationship (ERD) entity may

    I haven't checked, but I guess it can be done with Graphviz, along the lines of Darin example here - http://forums.ni.com/t5/LabVIEW/tree-to-picture-draw-tree/m-p/2717451#M805454

  • When you add a bitmap to a drawing of wildfire 5, it adds an icon instead of the image

    OLE Driver Configuration

    When you place a bitmap image in a drawing of Pro/ENGINEER Wildfire 5 file an icon is placed on the screen instead of the image.  This only happens on computers of users, using Windows 7 64 bit and other Windows XP 64-bit, all users are able to place the bitmaps in the drawing.  I contacted PTC (creator of Pro/E), they said that the problem is due to the fact that the OLE Windows drivers are not configured correctly.  They could not provide details of how to solve this problem, but the help is available on the web site of Ms.  I have not found a solution to this issue, any help would be greatly appreciated.

    Hi BHepler,

    You can read the article and check if it helps:

    Adding and configuring an OLE DB connection manager

    http://msdn.Microsoft.com/en-us/library/ms170365.aspx

    I hope this helps.

  • How to draw and the positioning of images in FieldManager using the method object?

    How can I add and the positioning of my images in the position desired in FieldManagers?

    I need to add more than 2 fields (HorizontalFieldManager/VerticleFieldManager) in my application and I draw an image using the method of painting ovverided.

    NOTE: The image will be established if I do not use mainScreen.add (SeparatorField ()) or mainScreen.add (hori2), see below.

    If I use mainScreen.add (mainScreen.add (hori2) SeparatorField ())... n then the horizontalFieldManger won't be empty, drawn in the output screen.

    import net.rim.device.api.ui.*;
    import net.rim.device.api.ui.component.*;
    import net.rim.device.api.ui.container.*;
    import net.rim.device.api.system.*;
    
    public class BackgroundImage extends UiApplication
    {
        private Bitmap backgroundBitmap;
        private Bitmap fieldBitmap;
    
        int width, height;
    
        public static void main(String[] args)
        {
                BackgroundImage theApp = new BackgroundImage();
                theApp.enterEventDispatcher();
        }
    
        HorizontalFieldManager hori2;
    
        public BackgroundImage()
        {
            //The background image.
            backgroundBitmap = Bitmap.getBitmapResource("jalan_logo.png");
    
            MainScreen mainScreen = new MainScreen();
    
            hori2 = new HorizontalFieldManager();
    
            HorizontalFieldManager horizontalFieldManager = new HorizontalFieldManager(HorizontalFieldManager.USE_ALL_WIDTH | HorizontalFieldManager.USE_ALL_HEIGHT){
    
                //Override the paint method to draw the background image.
                public void paint(Graphics graphics)
                {
                    System.out.println("come to here..!!");
                    width = graphics.getScreenWidth();
                    height = graphics.getScreenHeight();
                    //Draw the background image and then call paint.
                    graphics.drawBitmap(width/2, height/2, 150, 40, backgroundBitmap, 0, 0);
                    super.paint(graphics);
                }            
    
            };
    
            //The LabelField will show up through the transparent image.
            LabelField labelField = new LabelField("This is a label");
    
            //Add the manager to the screen.
            mainScreen.add(horizontalFieldManager);
    
           mainScreen.add(new SeparatorField());
           mainScreen.add(hori2);
           hori2.add(labelField);
    
            //Push the screen.
            pushScreen(mainScreen);
        }
    }
    

    Help, please.

    I have already pointed out the problem with USE_ALL_HEIGHT in first Manager add you to the form. Drop this style bit, otherwise sublayout your screen will generate an exception, and nothing appears!

    If you want HorizontalFieldManager to be of a particular size, regardless of the height of managed fields, replace its sublayout:

    HorizontalFieldManager fieldManagerTopBanner = new
             HorizontalFieldManager()
    {
         protected void sublayout(int maxWidth, int maxHeight) {
            super.sublayout(maxWidth, maxHeight);
            int myDesiredHeight = ;
            setExtent(getWidth(), Math.min(myDesiredHeight, maxHeight));
         }
    
         protected void paint(Graphics g)
         {
              // g.setBackgroundColor(0x000000);//blue
                 g.drawBitmap(100, 150, 100, 200, jlnLogoImg, 0, 0);
    
              //g.clear();
                super.paint(g);
         }
    };
    
  • Computer laptop screen locked after trying to download a free drawing software now can not deactivate or close the screen

    computer laptop screen locked after trying to download free software for drawing fast vector engineer tools and now the break is unable to calculate or close the screen

    Thank you

    Bill

    If your computer is bad, you need to do a system restore. Since it seems that you can not stop, try to hold the power button until it turns off. If this does not work, unplug (if laptop, remove the battery).

    From there on, allows to do a restore:

    1. turn the computer on and start to tap F8 to get the start menu
    2. Select repair your computer
    3. Select System Restore
    4. Follow the prompts

    If the restore point is older, feel free to use the Scan for affected programs feature to make sure that no other programs are affected. Otherwise, I would make a note of it, as it will have to reinstall these programs. In addition, I was running updated Windows once your system working again, since you will most likely use a restore point set up just before an update. (no point in re-opening of a security breach)

  • When I copy and paste into my Corel Draw, the image is distorted with the cutting tool

    Original title: the cutting tool false image

    I used snipping too long without problem.  Now all of a sudden (only when I copy and paste into my Corel Draw) the image is distorted.  I use windows 7 64-bit.

    Hi Diana,

    1 have you ever done any recent hardware or exchange of software on your computer before the show?

    2 have you tried to check the issue with another application?

    3. what files are copy you / paste in Corel Draw, using the cutting tool?

    If the problem is specific to Corel application, then I suggest you to contact the Corel Support for assistance.

    Corel communities:

    http://www.Corel.com/Corel/pages/index.jsp?PgId=800085

    Supported Corel:

    http://www.Corel.com/Corel/pages/index.jsp?PgId=800170

    For reference:

    The cutting tool: frequently asked questions: http://windows.microsoft.com/en-in/windows7/snipping-tool-frequently-asked-questions

     

    Snipping Tool to capture screen shots:

    http://Windows.Microsoft.com/en-in/Windows7/use-Snipping-Tool-to-capture-screen-shots 

    I hope this helps.

  • How to draw a video icon at the top of the image in Photoshop

    Hi team,

    Could you please tell how to draw the video icon (circle or square with triangle in the Center) at the top of the image in Photoshop? I am beginner so detailed step will be appreciated.

    Thank you very much in advance,

    Concerning

    Marianna

    Thanks Melissa. I also found another way to do it, if we have a video icon. Open the image you want to put the video icon on the top. After go to file-> Placed bound. Icon position to your liking and save.

  • Merge images & draw the layer and change the layer of the image?

    Im working on a picture of a bird where I put a white square on a single layer (drawing layer) and an image on the layer below. Then, I deleted some parts of the white to make sure the image was the lineart, if that makes sense. Now, I want to use a different image as "coloring" for the wings of a bird, but I can't do that unless I am able to er parts an image layer or merge a draw and the layer of the image and it would end by like a drawing layer. How to be people?

    Hi KayjaD.

    Sorry, you can not bring draw as editable files .ai files. Currently they can only be brought as a Photo layer.

    Sue.

  • Do I need to buy a license, even if I am registered for the promotion of 10 free images? If this isn't the case, then how the hell do you want to download the images?

    Do I need to buy a license, even if I am registered for the promotion of 10 free images? If this isn't the case, then how the hell do you want to download the images?

    Go to your license history and you will see the license key. By clicking above opens a dialog where you can buy an extended license, simply select scope from the menu drop down.

Maybe you are looking for

  • Somehow, I got charged Yandex and can not get rid of it. Russian browser or something. Help

    I was in the middle of some downloads from the Internet and all of a sudden I had little Russian search boxes which appeared in and basically it seems that I loaded a program Russian Yandex. It seems to be a browser. I got rid of everything that was

  • The lightscribe software

    Good evening boys. I want to know what happened the Lightscribe software, because wanting to improve, I found the writing: this site is no longer active. I have windows vista family 32-bit premium and microsoft security essential such as the antiviru

  • How can I remove protection microsoft XP SP3 client

    How can I remove "microsoft client protection" of XP SP3 so I can install "windows defender".

  • Warum gibt're Lightroom nicht ohne Photoshop CC CC

    Warum gibt are Lightroom CC nicht ohne Photoshop CC as home? !!!Ware possibly ICH an einem Abo von Lightroom CC interessiert, fur einen home wie sind €12 /Monat mich aber viel zu viel. Why has Adobe Lightroom CC nicht ohne Photoshop CC z.B. as € 2-4

  • E-mail said that my tests have been reset for 2015 CC...

    When I clicked on the link and connected, it also confirmed with "try now" under each product.  However, when creative downloaded/installed and connected cloud he did that update my product and there is no other choice 'try now '.  When I open the pr