Startseite › Foren › Deutsches LiveCode-Forum › SQLite BLOB schreiben in standalone › Antwort auf: SQLite BLOB schreiben in standalone
September 13, 2019 um 11:58 Uhr
#16346
Hi Rolf,
habe das hier unter „paintcompression“ im Dictionary gefunden:
By default, the global paintCompression property is set to „rle“ in standalones and „png“ in the development environment.
Bin darauf gekommen, weil Du schriebst, in der Runtime stände dort etwas Anderes als „.PNG“. 😎
Woher weisst Du das eigentlich? Schreibst Du das in ein Feld?
Also vielleicht mal zunächst wieder auf PNG in der Standalone stellen und erneut probieren?
...
set the left of image "Foto" to 50
## !!!
set the paintcompression to "PNG"
## !!
import snapshot from rect (the rect of image "Foto") of image "Foto"
...
Keine Ahnung, ob das das Problem ist, aber Versug macht klug! 🙂
Gruß
Klaus
P.S.
Du kannst Dir etwas Tipparbeit sparen:
...
put "50,70,145,133" into tRect
set the rect of image "Foto" to tRect
## set the height of image "Foto" to 63
## set the width of image "Foto" to 95
## set the top of image "Foto" to 70
## set the left of image "Foto" to 50
...
set the rect of img "Foto_Mini" to tRect
## set the height of image "Foto_mini" to 63
## set the width of image "Foto_mini" to 95
## set the left of image "Foto_mini" to 50
## set the top of image "Foto_mini" to 70
...
🙂