Varzeki / Homescreens

0 stars 0 forks source link

Image cropping #1

Closed Varzeki closed 8 years ago

Varzeki commented 8 years ago

Some thumbnails incorrectly display as empty and will require manual cropping to 500x500

ineeee commented 8 years ago

i hated everything about your script and out.gen so i went ahead and redid the whole thing

the imagegen.rb was recreated (https://github.com/Varzeki/Homescreens/commit/3bf54bd4e33d2fb15274878b1e6ca6b1acb34dfc) to grab every folder inside data/ that contains something, generate some html, and write it to screens.html. also i dont know how to ruby so its probably broken or weird.

folder structure (https://github.com/Varzeki/Homescreens/commit/e44a40355ee02d743ac4719ba478855187cb3e9a and https://github.com/Varzeki/Homescreens/commit/7518a1de8bd53238339d6fa1f159b7d8e9c45186) before:

site/
 |--- css
 |--- fonts
 `--- images
   |--- full
   |--- webm
   `--- thumb_sq
      `--- contains 23 thumbnails (half were zero-byte files)

now:

site/
 |--- css
 |--- fonts
 `--- data
   `--- N
      `--- contains original image also a 400x COMPRESSED png

changes:

issues:

kthxbai