Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 4 of 4 total
Thread Save canvas to image
Mon, Jan 27 2014 6:39 AMPermanent Link

Mike

Hi,

With TCanvas.ConvertToDataURL I can convert the canvas to a data URL string but would like to store it as image file (.jpg).

How can this be done?

Regards.
Tue, Jan 28 2014 6:21 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Mike,

<< With TCanvas.ConvertToDataURL I can convert the canvas to a data URL
string but would like to store it as image file (.jpg). >>

*Where* do you want to store it ?

Tim Young
Elevate Software
www.elevatesoft.com
Wed, Jan 29 2014 2:43 AMPermanent Link

Mike

Hi Tim,

If possible the file should be placed directly in the local file system (available to the user).
Otherwise it must be done on server side.

Regards.
Wed, Jan 29 2014 8:24 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Mike,

<< If possible the file should be placed directly in the local file system
(available to the user). Otherwise it must be done on server side. >>

You can't store it locally, so you'll have to send it over to the server,
decode it (Base64-encoded), and then make it available for the browser to
download it.

Tim Young
Elevate Software
www.elevatesoft.com
Image