litoprism.git
2 years agoForce actix-web to differentiate between canvases
MegaBrutal [Sun, 17 Jul 2022 23:15:00 +0000 (01:15 +0200)]
Force actix-web to differentiate between canvases

2 years agoImplement apply_to_canvas to avoid redundant code
MegaBrutal [Sun, 17 Jul 2022 22:30:00 +0000 (00:30 +0200)]
Implement apply_to_canvas to avoid redundant code

It takes a closure and applies it to the canvas.

2 years agoRefactor /pgen/1 to avoid drop & return
MegaBrutal [Sun, 17 Jul 2022 18:15:00 +0000 (20:15 +0200)]
Refactor /pgen/1 to avoid drop & return

2 years agoImplement /pgen/1
MegaBrutal [Sun, 17 Jul 2022 17:45:00 +0000 (19:45 +0200)]
Implement /pgen/1

2 years agoCycle through pixels
MegaBrutal [Fri, 15 Jul 2022 00:40:40 +0000 (02:40 +0200)]
Cycle through pixels

2 years agoUse actual image dimensions
MegaBrutal [Thu, 14 Jul 2022 23:40:00 +0000 (01:40 +0200)]
Use actual image dimensions

2 years agoGracefully handle non-existent canvas error
MegaBrutal [Thu, 14 Jul 2022 22:15:00 +0000 (00:15 +0200)]
Gracefully handle non-existent canvas error

2 years agoGet rid of warnings
MegaBrutal [Thu, 14 Jul 2022 21:35:00 +0000 (23:35 +0200)]
Get rid of warnings

2 years ago/pgen/0 now resizes image as /gen/0 does
MegaBrutal [Thu, 14 Jul 2022 21:30:45 +0000 (23:30 +0200)]
/pgen/0 now resizes image as /gen/0 does

2 years agoImplement /pgen/0
MegaBrutal [Thu, 14 Jul 2022 21:05:15 +0000 (23:05 +0200)]
Implement /pgen/0

2 years agoAdd env_logger
MegaBrutal [Sun, 10 Jul 2022 19:55:45 +0000 (21:55 +0200)]
Add env_logger

2 years agoEnforce maximum image size
MegaBrutal [Sun, 26 Jun 2022 00:20:00 +0000 (02:20 +0200)]
Enforce maximum image size

2 years agoReturn error on too much data
MegaBrutal [Sat, 25 Jun 2022 23:30:00 +0000 (01:30 +0200)]
Return error on too much data

2 years agoImplement /gen/1
MegaBrutal [Sat, 25 Jun 2022 22:45:00 +0000 (00:45 +0200)]
Implement /gen/1

2 years agoMake_png now accepts processed data
MegaBrutal [Sat, 25 Jun 2022 22:15:00 +0000 (00:15 +0200)]
Make_png now accepts processed data

2 years agoGeneric make_png function
MegaBrutal [Sat, 25 Jun 2022 22:00:00 +0000 (00:00 +0200)]
Generic make_png function

2 years agoChange path to /gen/0
MegaBrutal [Sat, 25 Jun 2022 21:00:15 +0000 (23:00 +0200)]
Change path to /gen/0

2 years agoProcess raw path
MegaBrutal [Sat, 25 Jun 2022 20:45:00 +0000 (22:45 +0200)]
Process raw path

UTF-8 conversion corrupted the intended data.

2 years agoPercent decode
MegaBrutal [Sat, 25 Jun 2022 10:30:00 +0000 (12:30 +0200)]
Percent decode

2 years agoConvert input to pixel data
MegaBrutal [Fri, 24 Jun 2022 23:15:00 +0000 (01:15 +0200)]
Convert input to pixel data

2 years agoPut red pixels from data
MegaBrutal [Fri, 24 Jun 2022 20:55:45 +0000 (22:55 +0200)]
Put red pixels from data

2 years agoBlank image generator
MegaBrutal [Thu, 23 Jun 2022 01:30:00 +0000 (03:30 +0200)]
Blank image generator

2 years agoInitial commit
MegaBrutal [Wed, 22 Jun 2022 23:30:00 +0000 (01:30 +0200)]
Initial commit