thumbnails and ultra thin pages
Rob Mostyn
mostyn at platformis.net
Wed May 25 10:34:13 UTC 2022
Hi All,
here is a situation I haven’t faced before but I suspect someone else has! :-)
We gather documentation to complete an online application. These files could be as large as 800KB so non trivial when it comes to performance. After submission of the document we may want to re-present the image to the user but not in full resolution. I want to display a thumbnail simply as an aide memoir for the user.
My specific questions are:
- is there a way to convert a high res image (could be pdf, jpg, bmp etc)
to a thumbnail (say 400 x 600 pixels).
- I want to embed the image into the html page directly and see on the web there is a
<img src="data:image/jpeg;base64,…
syntax. Has anyone else used this? Are there any gotchas?
I will have to take the binary and convert it to base 64. I’ve done that before so no worries.
Thanks,
Rob Mostyn
More information about the omnisdev-en
mailing list