Are you running the code in 32 bit mode on a computer with QuickTime installed?
On Sat, 9 Mar 2019 at 19:27, David Garrard via 4D_Tech <4d_tech@lists.4d.com> wrote: > 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:4d_tech-unsubscr...@lists.4d.com > ********************************************************************** -- Regards, Wayne ********************************************************************** 4D Internet Users Group (4D iNUG) Archive: http://lists.4d.com/archives.html Options: https://lists.4d.com/mailman/options/4d_tech Unsub: mailto:4d_tech-unsubscr...@lists.4d.com **********************************************************************