On Jan 23, 2014, at 12:04 PM, Marnaud <[email protected]> wrote: > Here's a sample code that exhibits the problem for me. Can you try it on > Linux (mine is Ubuntu 10.04, if you have it)? > dim f As FolderItem > dim p As Picture > > f=GetOpenFolderItem("") //Choose a PNG picture (or any other format, BTW) > if f<>nil then > p=Picture.Open(f) //Works > if p<>nil then > p=PNGStringToPictureMBS(PictureToPNGStringMBS(p)) //Convert the picture to > a PNG string, then back to a PNG picture. Crash here. > self.Backdrop=p > end if > end if
Arnaud, Try separating that conversion into separate calls: pString = PictureToPNGStringMBS(p) //Convert the picture to a PNG string newp = PNGStringToPictureMBS(pString) // then back to a PNG picture. Self.Backdrop = neap Tim _______________________________________________ Mbsplugins_monkeybreadsoftware.info mailing list [email protected] https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info
