In GDI+, the BitmapData class is used by the Bitmap::LockBits and Bitmap::UnlockBits methods of the Bitmap class. A BitmapData object stores attributes of a bitmap.
Questions tagged [bitmapdata]
412 questions
0
votes
1 answer
AS3: copyPixels - Maintaining Transparency On Multiple Copies
I need to copy multiple images with transparency to the same BitmapData without the overlapping images' transparencies overwriting the existing pixels.
By default when you use the copyPixels method on a BitmapData with transparency to a BitmapData…

grey
- 1,150
- 1
- 19
- 35
0
votes
2 answers
beginBitmapFill() is not working for existing movieclip, help me
I want to fill the image to the movie clip using beginBitmapFill(), but I don't see the image. Actually, I have created a movie clip with box and I skewed it. I want to show the image inside the skewed box. And Image also should look skewed (needs…

Gobi
- 155
- 1
- 1
- 14
0
votes
1 answer
ArgumentError: Error #2015: Invalid BitmapData. on iOS
The simplest graffiti app. The code works fine on the desktop and on Android. If i try to do the same on iOS (tested on a real device - iPad 2), i get this error: ArgumentError: Error # 2015: Invalid BitmapData.
In principle, it is clear why the…

Astraport
- 1,239
- 4
- 20
- 40
0
votes
2 answers
Wait to continue code until after Loader.load() has finished loading
So I have been trying to do something like the following in AS3 to load any image and retrieve its bitmap data during runtime:
var bitmapData:BitmapData;
var loader:Loader;
var completed:Boolean = false;
public function…

user1434120
- 3
- 1
- 2
0
votes
1 answer
Actionscript 3.0 Creating bitmapData from Loaded URL
I want to load an image and then use its bitmapData. The program worked when I ran it from flash, but not when I uploaded it online. There seem to be a bunch of weird problems. The
addChild(myLoader) works online but addChild(loadedPic) does not,…

James
- 31
- 1
0
votes
1 answer
How to create video stream from a sequence of bitmaps with Flash/wowza
Please suggest, googling failed.
I need to create video stream from a sequence of bitmaps (i.e Bitmapdata.draw() ).
Is it possible? Seems like I can put anything into Netstream.send(), but should I encode the images manually, or there's some…

Vitamon
- 538
- 7
- 18
0
votes
1 answer
AS3 copying masked bitmap onto another bitmap
I'm having a bit of a problem copying the masked only pixels from one bitmap onto another. Basically I'm masking bitmap A with bitmap B, which is working fine, but I'm unsure how to copy just the masked pixels onto Bitmap C which is the only one I…

user1369030
- 1
- 1
- 1
0
votes
1 answer
AS3 Dynamically change / swap bitmapdata from a bitmap
The Question :
I have a dynamically loaded image. It's the background of a site. After 10 seconds, I want to swap out that image with a new image!
The Thoughts :
I had thought this would be a simple enough process.
var BGbmd:BitmapData = new…

Joel Hackney
- 147
- 1
- 5
- 13
0
votes
1 answer
What Windows "Performance monitor" settings should I use to debug a Flash movie that throws an InvalidBitmap error?
Here's my problem:
I have a Flash swf that uploads files from local machine and if they are images it resizes them if needed. This involves creating a JPGEncoded bytearray from a bitmapData object. After im finished with the bitmapData I dispose()…

undefined
- 5,190
- 11
- 56
- 90
0
votes
1 answer
draw line in actionscript 3 without using the draw API?
I need to be able to draw a thick patterend line between 2 points in AS3, I can't use the draw API because it doesn't all me to actually put detail (pattern etc) into the thickness of the line, I thought about perhaps using the line to create a…

Phil
- 2,995
- 6
- 40
- 67
0
votes
1 answer
Why can I not access bitmap data of FLV video coming from Amazon S3?
I have a video player that loads progressive flv video from a server and applies a reflection to it. I do this by creating a bitmapData object and then drawing the video to it. This worked absolutely fine until we moved our content from testing…

undefined
- 5,190
- 11
- 56
- 90
-1
votes
0 answers
C# DwmApi Thumbnail to Stream
Is it possible to convert captured image to stream using DwmApi with C#?
Or is it possible to convert the captured image to bitmap format and stream it with…

Music Boy
- 1
- 3
-1
votes
1 answer
Bitmap to Integer routine generating exception
public static bool IsGrayscale(Bitmap bitmap)
{
return bitmap.PixelFormat == PixelFormat.Format8bppIndexed ? true : false;
}
.
public static int[,] ToInteger(Bitmap image)
{
if (Grayscale.IsGrayscale(image))
…

user366312
- 16,949
- 65
- 235
- 452
-1
votes
1 answer
Does JavaScript in the browser support BitmapData?
Does JavaScript in the browser support a BitmapData like class? Here is a link to the documentation of the BitmapData class.

1.21 gigawatts
- 16,517
- 32
- 123
- 231
-1
votes
1 answer
Text File to Bitmap in C Program
I'm very new in C programming and I am trying make a program that reads a text file and makes a black and white bmp out of it.
I think my code is almost done, but I only get a black image.
What am I missing or what'ss wrong?
0000000000
0000110000…

EmptyPhysicist
- 1
- 2