extracting the thumbnail from digital photos?

Michael Doub mikedoub at gmail.com
Fri Jan 30 14:53:06 EST 2015


Ethan,

Clearly I missed was you were asking.   It seems that you are trying to 
capture that initial image of the website within a browser.

I would be inclined to just take a screen shapshot and resize it.

If you want to do this within livecode you are going to need to create a 
browser instance in a stack and then use import snapshot to capture the 
image of the website.  You can then resize this image to be used in your 
button.  Take a look a the revBrowser control tutorial and import 
snapshot dictionary entry.

-= Mike



On 1/30/15 1:53 PM, Ethan Lish wrote:
> Hey
>
>
> 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 ;-)
>
>
>
>
> E
>
>
>> 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.
>> Mike
>> 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!
>>>
>>> Malte
>>>
>>>
>>> _______________________________________________
>>> use-livecode mailing list
>>> use-livecode at lists.runrev.com <javascript:;>
>>> Please visit this url to subscribe, unsubscribe and manage your
>>> subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>>
>> _______________________________________________
>> use-livecode mailing list
>> use-livecode at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the Use-livecode mailing list