handwrite icon indicating copy to clipboard operation
handwrite copied to clipboard

convert sheet directly to bmp

Open mjishnu opened this issue 1 year ago • 0 comments

The current version first convert the sheet to png before it is converted into bmp, this change allow to convert the sheet directly to bmp.

produces same output as current version Screenshot 2024-09-24 143839

code changes made

img = Image.fromarray(cv2.cvtColor(image, cv2.COLOR_BGR2RGBA)).resize((100, 100))

overall changes

  • changed file names
  • moved parts of pngtobmp.py to sheettopng.py
  • commented/removed unwanted code in pngtobmp.py

the massive number of additions/deletion are due to my formatter i apologize for that

mjishnu avatar Sep 24 '24 09:09 mjishnu