I have some legacy pictures fields with .PICT pictures in them in my
Windows database that I am converting to v17 64 bit. Here is my code to
convert the pictures to JPG format.
ALL RECORDS([DOCC_Document])
For ($i;1;Records in selection([DOCC_Document]))
GOTO SELECTED RECORD([DOCC_Document];$i)
GET PICTURE FORMATS([DOCC_Document]Document_Icon;$aTPictureFormats)
CONVERT PICTURE([DOCC_Document]Document_Icon;".jpg")
SAVE RECORD([DOCC_Document])
End for
The documentation suggests that this would convert the pictures in the
database to jpg format and they would lose the "ugly big cross on PICT"
replacement icon. But I see no changes.
I must be doing something fundamentally wrong... Any ideas?
David Garrard
**********************************************************************
4D Internet Users Group (4D iNUG)
Archive: http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub: mailto:[email protected]
**********************************************************************