Thank you. The position=0 seems to do the trick. I actually read over it
in the documentation. RTFM should be RTFMW(ell) !! :)
> Little tips if you want to test, instead of using setPixels to "fill"
> your Bitmap, using graphics.beginBitmapFill seems quicker and less CPU
> intensive (test it, I'
Did you try
myByteArray.position = 0
before reading it ?
You can try to use a Loader.loadBytes to instantiate a Bitmap (it uses a
loader but it takes no time).
Do you load the picture before storing the bytes?
If it is helping, I built a loader that is storing bytes for a cache
system and use
I came across some very weird behaviour and I can't seem to find an
explanation for it.
I am trying to write a class that will store compressed ByteArrays that
are retreive throught the bitmapData.getPixels.
Here is some testing code, that I wrote for the testing if a
decompressed ByteArray can
3 matches
Mail list logo