[Gambas-user] Size of a picture
    rolf 
    rolf.frogs at ...221...
       
    Thu Oct 19 18:43:24 CEST 2006
    
    
  
Hi everybody,
I would like to store a picture in a postgresql database. So every non char 
(i.e. A-Z, a-z, 0-9...) have to be quoted as octal numbers with two leading 
backslashes. Because the Replace function only works with strings I have to 
loop through the picture data and do the substitution by myself.
To do so, I need the number of bytes the picture has. How can I get this 
value?
Many thanks in advance
Rolf
    
    
More information about the User
mailing list