mobileExportImageToAlbum "not a supported format" SOLVED

Getting into LiveCode for iOS? Ask your questions here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
jmburnod
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2729
Joined: Sat Dec 22, 2007 5:35 pm
Contact:

mobileExportImageToAlbum "not a supported format" SOLVED

Post by jmburnod » Sat Oct 25, 2014 2:12 pm

Hi All,
I get an error "not a supported format" with mobileExportImageToAlbum with this script on IOS
import snapshot from rectangle (the rect of grc "CadrePrint")
put the long ID of last image into tImageID
mobileExportImageToAlbum tImageID
What I'm doing wrong ?
Best
Last edited by jmburnod on Sat Oct 25, 2014 6:42 pm, edited 1 time in total.
https://alternatic.ch

Simon
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3901
Joined: Sat Mar 24, 2007 2:54 am

Re: mobileExportImageToAlbum "not a supported format"

Post by Simon » Sat Oct 25, 2014 5:24 pm

I think I have this one.
set the paintCompression to "jpeg"
Use that before taking the snapshot.

Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!

jmburnod
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2729
Joined: Sat Dec 22, 2007 5:35 pm
Contact:

Re: mobileExportImageToAlbum "not a supported format"

Post by jmburnod » Sat Oct 25, 2014 6:42 pm

Thank again Simon.
That was the trick
I only get a all black image but that is an other story
I'll write back if i can't found the way
Best regards
Jean-Marc
https://alternatic.ch

jmburnod
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2729
Joined: Sat Dec 22, 2007 5:35 pm
Contact:

Re: mobileExportImageToAlbum "not a supported format" SOLVE

Post by jmburnod » Sun Oct 26, 2014 9:54 am

Hi
I only get a all black image but that is an other story
I added "of this cd" and it works

Code: Select all

import snapshot from rectangle (the rect of grc "CadrePrint") OF THIS CD
https://alternatic.ch

Post Reply