• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
LiveCloudManager: How to retrieve/download a picture ?
#16
(08-16-2019, 09:57 PM)mark_talluto Wrote:
(08-16-2019, 08:30 PM)mark_talluto Wrote: This is the strangest thing. I think I have a fix to the problem. If it all goes well, I will push an update today.

The relevant code that has changed looks like this:

--NEW METHOD: COPY FILE
set the itemDel to slash
put slash & the last item of tOutput after tPath
revCopyFile tOutput, tPath

--OLD METHOD: COPY FILE
open file tOutput for binary read
read from file tOutput at 1 until EOF
put getFormat(it) into tFormat
put tPath & "/" & pBlobID & "." & toLower(tFormat) into tPath
put it into url("binfile:" & tPath)

The new method preserves the file size and passes along the meta data and color profile for the image.
Thanks Mark, working fine now.

Cheers!
To ";" or not to ";" that is the question
  Reply


Messages In This Thread
RE: LiveCloudManager: How to retrieve/download a picture ? - by simon.schvartzman - 08-17-2019, 01:26 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)