extracting the thumbnail from digital photos?
mikedoub at gmail.com
Fri Jan 30 20:40:01 CET 2015
I not sure that I understand your question but here is a example of how
to use the routine found in the MasterLibrary:
put __getThumbs (pfilepath ) into imageArray
if imageArray is not an array then
answer "No thumbnails"
set the text of it to imageArray
This assumes that you want the first thumbnail. I have seen photos
that have multiple thumbnails, each a different size.
Hope this helps.
On 1/30/15 1:53 PM, Ethan Lish wrote:
> On a related note, can this function be used/expanded to create a thumbnail image (tile) of a website. Looking to use this static image as a "button" to launch the full site in another card/browser
> Code examples welcome ;-)
> Ethan at Lish.net240.876.1389
> On Fri, Jan 30, 2015 at 7:03 AM, Mike Doub <mikedoub at gmail.com> wrote:
>> In my implementation I put all of the thumbnails into an array. If there
>> are no thumbnails found, the array is empty.
>> On Friday, January 30, 2015, Malte Brill <revolution at derbrill.de> wrote:
>>> Hi Al,
>>> sorry to chime in late. I was on the road without any iNet access. The
>>> last iteration of the script including numToByte and setting the case
>>> sensitive to true indeed does work extracting the thumbnail image. And it
>>> is incredibly fast. :-) I still have troubles to see if there is no
>>> thumbnail in the image though. Need tto dig into that.
>>> All the best and thanks again!
>>> use-livecode mailing list
>>> Please visit this url to subscribe, unsubscribe and manage your
>>> subscription preferences:
>> use-livecode mailing list
>> use-livecode at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
More information about the use-livecode