bitmapdata Questions
2
Solved
BitmapLocker class is intended for fast read/write of pixels in a Bitmap image file.
But, Color GetPixel(int x, int y) and void SetPixel(int x, int y, Color c) cannot handle 1-bit and 4-bit images...
Demonolatry asked 27/6, 2018 at 21:53
6
Solved
Say I have a BitmapData of 600x600 and I want to scale it down to 100x100.
Pickford asked 8/6, 2009 at 11:42
3
Solved
I try to get all byte values from a Bitmap(System.Drawing.Bitmap). Therefore I lock the bytes and copy them:
public static byte[] GetPixels(Bitmap bitmap){
if(bitmap-PixelFormat.Equals(PixelForma...
Branchia asked 12/11, 2011 at 12:33
4
Solved
This question is about how to read/write, allocate and manage the pixel data of a Bitmap.
Here is an example of how to allocate a byte array (managed memory) for pixel data and creating a Bitmap u...
Birt asked 21/7, 2011 at 20:40
3
Solved
In my application i want to send bitmap image to the server in the form of string, i want to know how many ways are available to convert a bitmap to string. now i am using Base64 format for encodin...
Disrespect asked 26/11, 2012 at 10:0
1
I'm looking for a fast way to convert a Bitmap from 24bpp to 8bpp.
I found a solution at this site Programmer » 1bpp in C#. It works, but the resulting Bitmap stride is negative!
How can I fix th...
Erythrocytometer asked 14/6, 2013 at 19:3
2
Solved
I'm using com.adobe.images.PNGEncoder to encode bitmapData to a byteArray. Is there a way to convert the byteArray back to bitmapData NOT using a Loader? thanks.
EDIT: the reason i don't want to ...
Piemonte asked 18/7, 2012 at 12:46
2
Solved
I'd like to scale a BitmapData to different sizes such as 200, 400, 600 and 800.
What is a good way to do that?
Kala asked 23/5, 2012 at 14:40
1
I am using BitmapData.draw() on a DisplayObject that includes an image from my AWS S3 bucket. The image loads fine in the swf when I set the S3 image URL as the source for an Image object but when ...
Factory asked 9/2, 2012 at 20:9
5
Solved
In Flash, the BitmapData object can be used to store bitmaps in RAM, you can later draw them to a MovieClip using the beginBitmapFill() method.
How do you load an external bitmap file (.jpg) into ...
Cherellecheremis asked 31/3, 2009 at 17:32
7
Solved
How can I change the bitmapdata of a coloured Bitmap to Black and White in AS3 ?
I'm developing a simple image editor tool for a CMS in flash.
People should be able to switch the colour of the u...
Iridotomy asked 8/7, 2009 at 15:38
1
I started converting this flex application to run on android using the new flex hero sdk.
I already replaced all mobile-incompatible components and got it running a few times succesfully.
When I u...
Bashemath asked 23/2, 2011 at 12:20
1
Solved
I'm trying to load an image file that's right next to the .SWF file. Something like this:
var loader:URLLoader = new URLLoader();
loader.dataFormat = URLLoaderDataFormat.BINARY;
loader.addEventLis...
Abana asked 23/5, 2011 at 0:8
2
Solved
Can anyone explain what Scan0 and Stride properties of BitmapData class in C# are for?
Domel asked 17/4, 2011 at 6:29
1
© 2022 - 2024 — McMap. All rights reserved.