Image conversion
#4
(07-01-2020, 07:34 AM)danielt Wrote: The image compressor is ./tools/rle_encode.py and this can be used to convert PNG to RLE. The PNG should be 24-bit with no alpha layer. For 1-bit RLE the image should be strictly black and white (no grey pixels), for 2-bit RLE the image can contain as many colours as you like but the image needs to use spot colours. Textured gradients and photos will not compress efficiently (resulting in an image file that is larger than the available RAM).

Changing the background is entirely up to you... you can write a new clock app and draw whatever you like! Currently all the drawing routines are written in python so if they don't do what you want you can just add your own.

The boot process is basically executing wasp/boards/pinetime/watch.py.in . If you want to manipulate the screen at that point then that is the place to do it.
sir,

i got some exception error while debugging screenshot attached with this mail. how can i proceed converting into rle conversion.
thankyou


Attached Files
.png   Screenshot from 2020-07-08 11-29-52.png (Size: 151.92 KB / Downloads: 383)


Messages In This Thread
Image conversion - by pratyush049 - 07-01-2020, 04:54 AM
RE: Image conversion - by danielt - 07-01-2020, 07:34 AM
RE: Image conversion - by pratyush049 - 07-01-2020, 11:39 PM
RE: Image conversion - by pratyush049 - 07-08-2020, 12:03 AM
RE: Image conversion - by danielt - 07-08-2020, 03:00 AM
RE: Image conversion - by pratyush049 - 07-10-2020, 05:13 AM
RE: Image conversion - by danielt - 07-13-2020, 03:14 AM
RE: Image conversion - by pratyush049 - 07-13-2020, 05:16 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)