bitmap icon indicating copy to clipboard operation
bitmap copied to clipboard

offer an API to get the origin binaryData of bitMap

Open izyForever opened this issue 2 years ago • 2 comments

Maybe you guys can offer an API to get the origin binaryData of bitMap, which could avoid the Waste of storage space and seems easy to implement. If you agree, I think I could do this.

izyForever avatar Feb 22 '23 07:02 izyForever

Just need to visit the value of bitmap. example:

originData = bm.bitmap # get the bin data, where bm is a Bitmap object.

But I think is prefered to offer user an API instead of property access.

izyForever avatar Feb 22 '23 07:02 izyForever

cbfbdce734499d904693a2c9542c16e4

I find this annoying problem, you can't use the hexstring fom itself to new a bitmap object which is quite confusing! And the fromstring function to new bitmap object seems to have opposite order in bytes data. For example, the '1000' create a bitmap which calls test(0) function get False, while it gets True when calls test(3) function, it is kind of counterintuitive XD! BeSize I thibk the API is not powerful enough to support usual desire. I am working on fixing the problem, are you still mataining this project?

izyForever avatar Feb 24 '23 01:02 izyForever