extracting the thumbnail from digital photos?
mikedoub at gmail.com
Thu Jan 29 20:10:26 EST 2015
I ended up submitting a bug thinking that there was an issue with the
offset command. The offset command was fine, the bug was redirected
against the livecode documentation as there is no mention of the
relationship between the offset command and the casesensitive global
Did you happen to check the state of casesensitive before your test?
I suggest that you try the code snipit that I used in the bug report
below and if it really works with the casesensitive property set to
false. If it works, then we really did find a bug in the Linux
put numtochar(255) & numtochar(216) into tStart
-- in Hexadecimal: FFD8 = SOI(Start of jpeg image)
put numtochar(255) & numtochar(217) into tEnd
-- in Hexadecimal: FFD9 = EOI(End of jpeg image)
put "AAA" & tStart & "DATA"& tEnd & "BBB" into temp1
put offset(tStart,temp1) into tThumbstart
put offset(tEnd,temp1) into tThumbEnd
answer "Start:" && tThumbstart & cr & "End:" && tThumbEnd
On 1/29/15 7:38 PM, Alejandro Tejada wrote:
> Hi Mike,
> Michael Doub wrote
>> It works fine if you add the statement
>> before the offset statements:
>> set the casesensitive to true
> As posted in previous messages
> when I test first this jpeg thumbnail
> script in UBUNTU Linux,
> I do not needed to add:
> set the casesensitive to true
> to make it work.
> It was later, after you (Mike) and Malte
> reported it, that I found this
> fundamental difference between
> Linux and all other platforms.
> Why UBUNTU Linux does not require
> to set the casesensitive true,
> unlike Windows and OSX?
> View this message in context: http://runtime-revolution.278305.n4.nabble.com/extracting-the-thumbnail-from-digital-photos-tp4688207p4688282.html
> Sent from the Revolution - User mailing list archive at Nabble.com.
> 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