You are missing one line of code

TRANSFORM PICTURE($Pict_G;Transparency;0x00FFFFFF)

This will set white background to clear. 



 Chuck Miller Voice: (617) 739-0306
 Informed Solutions, Inc. Fax: (617) 232-1064       
 mailto:cjmiller<AT SIGN> 
 Brookline, MA 02446 USA Registered 4D Developer                
       Providers of 4D and Sybase connectivity
This message and any attached documents contain information which may be 
confidential, subject to privilege or exempt from disclosure under applicable 
law.  These materials are intended only for the use of the intended recipient. 
If you are not the intended recipient of this transmission, you are hereby 
notified that any distribution, disclosure, printing, copying, storage, 
modification or the taking of any action in reliance upon this transmission is 
strictly prohibited.  Delivery of this message to any person other than the 
intended recipient shall not compromise or waive such confidentiality, 
privilege or exemption from disclosure as to this communication. 

> On Aug 9, 2017, at 4:22 PM, Tim Nevels via 4D_Tech <> 
> wrote:
>       For ($Ndx;1;$SOA)  // for each picture
>       $PictRef_L:=$PictRef_aL{$Ndx}
>       $PictName_T:=$PictName_aT{$Ndx}
>       GET PICTURE FROM LIBRARY($PictRef_aL{$Ndx};$Pict_G)
>       $Pict_P:=->$Pict_G  // passage of a pointer
>       If (AP Is Picture Deprecated ($Pict_P)=1)  // if format is obsolete
>               CONVERT PICTURE($Pict_G;".PNG")  // conversion to png
>               SET PICTURE TO LIBRARY($Pict_G;$PictRef_L;$PictName_T)  // and 
> storage in the library
>       End if 
>       End for 

4D Internet Users Group (4D iNUG)

Reply via email to