iambumblehead / thu.sh

bash script to render thumbnails for various types of file
GNU General Public License v3.0
1 stars 0 forks source link

separate image creation from image display #38

Closed iambumblehead closed 3 months ago

iambumblehead commented 3 months ago

Some image sizes cannot be known until "late" in the image generation process. For example, videos and pdfs. In order to separate image creation and image display, it may be good to store image dimensions in the created image's filepath, where they can be later parsed for image display. This simplifies image-creating functions allowing them to return a single value the string filepath.

iambumblehead commented 3 months ago

other properties can be stored in the filepath such as the source image's last-modified or timestamp related to the session

iambumblehead commented 3 months ago

this is done