thumbnails and ultra thin pages

Phil (OmnisList) phil at pgpotter.co.uk
Wed May 25 14:27:33 UTC 2022


Hi Rob,

Have a memory of when I was creating externals for such a requirement, I 
believe I recall for PDF's you need something else to create an image of 
a page, which can then be shrunk.

regards
Phil Potter
Based in Chester in the UK.

On 25/05/2022 11:59, Rob Mostyn wrote:
> ImageMagic!!  And I have that already…
> Doh!
> Rob Mostyn
>
> +44 (0)20 3233 0044
>
> As Carl Sagan once said:
> One of the great commandments of science is, "Mistrust arguments from authority." ... Too many such arguments have proved too painfully wrong. Authorities must prove their contentions like everybody else.
>
>> On 25 May 2022, at 12:37, Mike Matthews - Omnis<omnis at lineal.co.uk>  wrote:
>>
>> Kelly B has an external for ImageMagik that does all of this, and more.
>>
>> V8 and v10 are available.
>>
>> Mike Matthews
>> Lineal Software Solutions
>> Commercial House, The Strand <x-apple-data-detectors://1/1>
>> Barnstaple, Devon, EX31 1EU <x-apple-data-detectors://1/1>
>>
>> omnis at lineal.co.uk  <mailto:mike.matthews at lineal.co.uk>
>> www.lineal.co.uk  <http://www.lineal.co.uk/>
>> www.sqlworks.co.uk  <http://www.sqlworks.co/>
>>
>>
>>
>>> On 25 May 2022, at 11:34, Rob Mostyn <mostyn at platformis.net  <mailto:mostyn at platformis.net>> wrote:
>>>
>>> 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
>>> _____________________________________________________________
>>> Manage your list subscriptions athttps://linkprotect.cudasvc.com/url?a=https%3a%2f%2flists.omnis-dev.com&c=E,1,byVnmRS4tB6G6sjxbm3ISTI0PFVpcxzBshUTzTLgxk8mWOfi_4-LAHHh7y_t2UWrfoYq_vWT2GmFq_kh2B2QPRDn1OGYTJKsaoA5v_IKX-LWPXQs1II,&typo=1  <https://linkprotect.cudasvc.com/url?a=https%3a%2f%2flists.omnis-dev.com&c=E,1,byVnmRS4tB6G6sjxbm3ISTI0PFVpcxzBshUTzTLgxk8mWOfi_4-LAHHh7y_t2UWrfoYq_vWT2GmFq_kh2B2QPRDn1OGYTJKsaoA5v_IKX-LWPXQs1II,&typo=1>
>>> Start a new message ->mailto:omnisdev-en at lists.omnis-dev.com  <mailto:omnisdev-en at lists.omnis-dev.com>
>
> _____________________________________________________________
> Manage your list subscriptions athttps://lists.omnis-dev.com
> Start a new message ->mailto:omnisdev-en at lists.omnis-dev.com  


More information about the omnisdev-en mailing list