Apr 15, 2016; 14:05
Johan Solve
Image tag sometimes saving files with scrambled filenames (Lasso 8 on CentOS)
It seems that saving images with the image tags can sometimes name the
saved file rather strangely with Lasso 8 on CentOS. Randomly replaced
character here and there, but just sometimes.
I solved it by saving the image using file tags instead.
So instead of this code
#image -> Save('/media/' + #filename, -quality=75);
Use this
#image -> convert('JPG', -quality=75);
file_write('/media/' + #filename, #image -> data, -fileoverwrite);
--
Mvh
Johan Sölve
____________________________________
Montania System AB
Halmstad Stockholm
http://www.montania.se
Johan Sölve
Mobil +46 709-51 55 70
johan@montania.se
Kristinebergsvägen 17, S-302 41 Halmstad, Sweden
Telefon +46 35-136800 | Fax +46 35-136801
#############################################################
This message is sent to you because you are subscribed to
the mailing list Lasso Lasso@lists.lassosoft.com
Official list archives available at http://www.lassotalk.com
To unsubscribe, E-mail to: <Lasso-unsubscribe@lists.lassosoft.com>
Send administrative queries to <Lasso-request@lists.lassosoft.com>
May 11, 2016; 07:13
bienvenue
Re: Image tag sometimes saving files with scrambled filenames (Lasso 8 on CentOS)