dim pic as Picture
print "Open picture "
if GetFolderItem(“mypic.jpg”).Exists=false then
print “File not found”
else
print “File found”
end if
pic=picture.Open(getfolderitem(“mypic.jpg”))
I try the code above, and get the following error
dim pic as Picture
print "Open picture "
if GetFolderItem(“mypic.jpg”).Exists=false then
print “File not found”
else
print “File found”
end if
pic=picture.Open(getfolderitem(“mypic.jpg”))
If I copy the file to a mac or pc, the image file loads ok. if I run the code on mac with same picture works ok.
Not able to open a picture from ARM32
Is this true for all jpeg files or just this particular one? Ive seen issues like this when the image is cmyk instead of rgb or if the ppi of the image > 72.
[quote=395264:@dave duke]if I load the file as base64 from a file, decode it then assign to a picture I get this error
Libs/XojoConsoleFrameworkARM.so: undefined symbol: gdImageCreateFromJpegPtr[/quote]
Console apps sometimes have limited graphics capabilities, but well have to get an opinion from @William Yu on that.
Are you able to open a png file?
I understand. What Im asking is whether you can open png image files on 32Bit ARM.
Are you using 2018r1? It should be fixed in that version.