Commit graph

26 commits

Author SHA1 Message Date
Yash Karandikar 80b03efbf5
Clean up code 2021-09-11 16:36:21 -05:00
Yash Karandikar f5fa17059e
Use MozJPEG for compressing output images 2021-09-11 16:34:30 -05:00
Yash Karandikar 914167346c
Add mozjpeg crate 2021-09-11 16:34:14 -05:00
Yash Karandikar 43adbf468f
Run rustfmt 2021-09-11 11:14:02 -05:00
Yash Karandikar 14acb52140
Randomly shuffle chunks before saving 2021-09-11 11:13:38 -05:00
Yash Karandikar cfc761ddee
Add rand crate 2021-09-11 11:12:53 -05:00
Yash Karandikar f243e5bd5f
Use jpg for more speeeeeeed 2021-09-11 10:28:49 -05:00
Yash Karandikar dcdfc73281 Run rustfmt 2021-09-08 11:37:21 -05:00
Yash Karandikar fa194b11b8 Tweak chunk size 2021-09-08 11:36:40 -05:00
Yash Karandikar deeb02fab4 Refactor to use chunks 2021-09-08 10:52:38 -05:00
Yash Karandikar a5cceb2674
Add logging and use capacity 2021-09-07 15:28:37 -05:00
Yash Karandikar 07fc6ae364
Use 6000 pixels instead of 600 2021-09-07 15:00:26 -05:00
Yash Karandikar 69cd6adfcc
Remove rand 2021-09-07 14:17:45 -05:00
Yash Karandikar 290d5bf200
Run rustfmt 2021-09-07 14:16:43 -05:00
Yash Karandikar b04df71879
Pick random selections and save them to image files 2021-09-07 14:16:04 -05:00
Yash Karandikar 357ef6115a
Ignore output directory 2021-09-07 14:15:53 -05:00
Yash Karandikar 792792a55e
Run rustfmt 2021-09-07 11:17:06 -05:00
Yash Karandikar cbd3804733
Ignore output file 2021-09-07 11:16:42 -05:00
Yash Karandikar aa64064db5
Save output to a new image 2021-09-07 11:14:24 -05:00
Yash Karandikar e0cabe8d12
Switch to using enumerate 2021-09-07 11:14:07 -05:00
Yash Karandikar 9ea11f2763
Run rustfmt 2021-09-07 10:33:58 -05:00
Yash Karandikar 4ad0e55766
Now we can randomly select pixels 2021-09-07 10:33:20 -05:00
Yash Karandikar d7860519d7
Add the rand crate 2021-09-07 10:33:11 -05:00
Yash Karandikar 9ae89d21d2
Now we can iterate through an image 2021-09-07 10:03:58 -05:00
Yash Karandikar dd1673997e
Add the image crate 2021-09-07 10:03:48 -05:00
Yash Karandikar 554ce22e4a
Initial Commit 2021-09-07 09:26:35 -05:00