How copyPixels from an Image

Hello.

My question is... Well the title of the post says it all.

How can I copyPixels from an image I have on stage?

I know that when you use. draw it's simple - 1st thing to do is to get to the source of the item you want to copy from, no matter if the bitmapData, Bitmap, Sprite, MC or something else,.

but when he asks specifically for bitmapData... and that's my problem with copyPixels, what happens if my source is a MovieClip that is dragged from the library onto the stage.

I read the http://help.adobe.com for the copyPixels but then referance, they directly create the bitmapData like this var bmd2:BitmapData = new BitmapData (80, 40, false, 0x0000CC44);

and then copy it to her. But how do you MC copyPixels.

Im trying something like that

var newPieceImage1:Bitmap=new Bitmap(new BitmapData(100, 100));
newPieceImage1.bitmapData.copyPixels(movingMC.bitmapData, new Rectangle(0, 0, 100, 100), new Point(0,0));

where the movingMC is actually the image of the library

Hope you understand my question.

PS: I also want to ask if I want copyPixels since a mc with Moving objects inside, how do?

This, ' because I think it's the best way to show what is happening (which is in motion) on an element that takes that data to another ", is not a convincing rationale.  That's not what you think, it's better.

I'm not trying to give you a hard time.  but I suspect that you prepare your more complex app without good reason.

in general, it is not better to create a sequence of bitmaps instead of use a movieclip.

the only justfication I know is to improve performance.  but unless you're the publication for the mobile device performance is usually not a problem.

in any case, in Exchange for improving performance (IE, blitting) you increase your complex apps and you increase the memory usage.  and it's easy to exceed the available system memory.

on the other hand, maybe you just want to learn how blit or partially-blit an app.  This is a good reason to adopt this approach.

If so, make sure that you do not have to exceed system memory: size (100 x 100?) is movingMC?  How many images are there?  you will need to create bitmaps transformed (because you're rotation/change alpha / etc.) also?

Tags: Adobe Animate

Similar Questions

  • How can I export images from Photos with Lightroom or Photoshop?

    How can I export images from Photos with Lightroom or Photoshop?

    Use the file ➙ export Original unmodified for Photos X menu option.

  • I have a virus inches in my file and I lost all my files from the image. How can I get them back?

    I have a virus inches in my file and I lost all my files from the image. How can I get them back? Folder was on the desk. So please help me. All files were very important for me. Thank you.

    I have a virus inches in my file and I lost all my files from the image. How can I get them back? Folder was on the desk. So please help me. All files were very important for me. Thank you.

    =====================================
    Are you running Windows XP?

    Please post more details. The more information you share
    you chances of a solution.

    How do you know it was a virus?

    The virus has been removed?

    When the problem happened everything first?

    "Was" folder on the desktop? You say all
    folder is missing?

    The file might be in the trash?

    Is it possible that your files are still there but have
    become hidden?

    Reach... Control Panel / folder Options / View tab.
    ... To check "Show the hidden files and folders" / apply / OK.

    If the photo thumbs reappear... they can turn washed
    outside. To clear this up... right click a thumbnail or a
    selected (highlighted) group or folder and the
    menu... Choose... Properties, uncheck the box.
    'Hidden' / apply / OK.

  • How do I download images from my android phone on my new computer WIndows 8?

    How do I download images from my android phone on my new computer Windows 8?  In my old Vista, all I had to do was connect my phone to the USB port and she made the photos.  When I plugged in my phone, the computer makes the lovely chime but don't watch not the phone when you click on "devices".  So when I found this and do a right click on it, I don't have the option of opening. Very frustrating.

    Thank you very much! It's actually pretty easy. People dribble on hatred of everything that is NOT useful and should be eliminated by the moderator of the site! Commons, peeps! We hear enough drib neg everywhere and it cascades (see example above). I paid more than a grand for a great HP with Vista and used for the Tech Cert class and cleaned for my son's graduation gift and he is a writer and player and he loves her and we had win7 and new free heat paste and he's still using it after 7 years. I also have older refurb that run circles around "hater peeps" with bells and whistles that they dislike. I take most of it off the coast of the new computers anywho. A very productive day and catch me on my site of the Pupsrun.com family, when it finally comes out of beta mode. :)

  • How to change the image field captures screenshots automatically from BMP to JPEG

    How to change the image field captures screenshots automatically from BMP to JPEG

    I want to say, when I tap on the screenshot on my keyboard and paste this image in microsoft photo editor or picasa 3.0 areas of the bitmap .bmp. instead of asking the witch I´d field prefer.
    So, I open that image on the brush to convert it to. JPEG.
    It's hick very!
    is it possible to easily me this step and save or paste pictures in JPEG on my files automatically?

    Hello

    I saw that article when I was looking for one that I posted...

    I understand your problem, and the answer is that, to the best of my knowledge... NO..

    Windows records the capture in memory as bitmap, along with, even if you can paste it directly into a folder, it would be in the form of bitmap...

    The best I could find is to use the suggestion in the link I've included which refers to the

    Windows Key + PrintScreen to automatically record is in PNG format in your pictures folder...

    The only way to do what you want is with a 3rd party capture program that can be configured to save in a directory as a specific file type...

    Personally, I use a program called print screen Deluxe for this... it is a purchased program...

    I'm sure you could find something free to do what you need...

    You may need to use a different key for print screen, but the software can allow you to reprogram the PrntScrn key...

  • How to change an image that I paid for images from adobe?

    How to change an image that I paid for images from adobe?

    You can use Photoshop or any program for .jpg photos and Illustrations of image editing. For the vector .ai, you will need Adobe Illustrator or another application that takes supported Illustrator files.

  • How can I download images from cf card

    I put the cf card in the card reader and click on get images from the camera, but it can not find all the images.

    Double post

    IM using a mac how can I download images from a cf card after it is inserted into the card reader

  • How to disappear an image of the layer from left to right to display gradually the image below, that is solid on the left to slide to the right?

    How to disappear an image of the layer from left to right to display gradually the image below, that is solid on the left to slide to the right?

    No need to clarify, Mark. Thank you very much

  • How to remove the watermark from istock images adobe

    How to remove the watermark from istock images adobe

    Buy it.

  • How to convert an image from 72 dpi to 300 dpi image?

    How to convert an image from 72 dpi to 300 dpi image?

    Ctrl Alt of the image size I have (Cmd Opt i)

    Uncheck resampling

    Change the resolution

  • How do Camera Raw to open in PS, when moving from a BRUTE from LR image?

    How do Camera Raw to open in PS, when moving from a BRUTE from LR image?

    I know there must be an easier way.  I can not open no matter what I do.

    Hi RusticDiva,

    Silkrooster is correct on Lightroom. However, if you have Photoshop CC you can use Camera Raw as a filter to make additional changes to Camera RAW:

  • How to remove the color profile from an image

    The question is how to remove the color profile from an image

    Color fail not in this Document: option to load Photoshop to remove an existing integrated profile but when I save the file, close and open it I always see a color profile in the embedded image.

    Not tried:

    When I clicked on "don't color manage this Document" and click OK and save the document without closing, I see that Photoshop says there is no profile in the image, but once I got close, and then reopen the file it keeps the color profile. How is that possible?

    Use the ColorSync scripting Remove.app found here /Library/Scripts/Remove.app

    Just drag your image to the Remove.app script.

  • How to open a file from disc image on an acer aspire one

    I am trying to open a file from disk image on an Acer Aspire AO722 model it's a netbook without disc so I can't burn

    If you want to burn "you need one disk drive ' "

    You can try to mount it using a tool like Power ISO virtual disk image.

  • With 10 IOS, how can I move images to e-mail/text to photo album?

    After downloading the IOS 10.0.2 the icon 'Save image' has been removed from the windows of emails and text. How e-mail/text images can be moved in the photo album?

    Put your finger on the image (do not press down) and after a few seconds, a menu will appear that includes the save option.

  • How to change the Image the Image (8 bit) (32 bit)?

    Dear all,

    I have a question about VISION.

    An Image from IMAQ USB Grab Acquire.vi is 32-bit, even if the IMAQ Creat.vi has the type U8 value.
    But the more IMAQ vi (for example IMAQ get LCD ROI.vi) can only deal with 8-bit Image.
    How to change the Image from 32-bit to 8-bit Image?
    Thank you!

    Hugo

    Hi Hugo,.

    You use a color camera? coz usually 32 bit for a color image.

    If so, you can try the unique color Pane.vi extract to extract its Luminance component. It then becomes an 8-bit grayscale image.

    Zheng OR AE

Maybe you are looking for

  • IMac Intel 2011 is beach ball

    The problem gets worse when I have a lot of Apps open - Photoshop, Lightroom, iTunes play or Pandora streaming. After a reboot, it is fine until I have started opening these pigs. So, suspecting bad RAM, I checked it by rebooting and now the-D Option

  • UNABLE TO LOAD ALL THE PAGES SINCE DOWNLOAD VERS.3.6.6 UPDATE - ALWAYS GET TIMEOUT MESSAGE

    UPDATE VERSION 3.6.6 AND SINCE that IMPOSSIBLE to LOAD PAGES INTERNET - MESSAGE TIMEUOT not CHECKED firewall, ANTIVIRUS, NO PROBLEM. CHECK ALL SETTINGS TO INTERNET OK. USING WINDOWS XP. PROBLEM WILL ONLY OCCUR ON A SINGLE ACCOUNT ON COMPUTER - ACCOUN

  • No Bios (cnu9347f9s)

    Watched my latop, code: CNU9347F9S. How do I? Help me, thanks.

  • Recommended installation Windows updates

    Whenever I try to install the latest updates recommended for Windows Vista I get an error message: 80240016. What am I supposed to do?

  • computer laptop r203tx K8U03PA: problem with drivers

    I recently bought a laptop model r203tx K8U03PA, who originally BACK as operating system. I have installed windows 7 ultimate 64 bit version and then visited forum hp for support for drivers, but unfortunately only few of them installed n worked corr