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.
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.