Re: Convert Picture Crashing 4D

2017-02-09 Thread Nigel Greenlee
Sannyasin Did you try SET PICTURE TO PASTEBOARD ? with the crashing pictures. If that does not crash that might give you an option(get clipboard data..etc etcif it does i think if you can’t then resolve it using Brunos' picture analysis code you will need to kiss them records goodbye.

Re: Convert Picture Crashing 4D

2017-02-08 Thread Sannyasin Siddhanathaswami
Missed this first time around. I’ll try this first to see what’s up with the pictures! Sannyasin Siddhanathaswami On 7 Feb 2017, at 09:54, Bruno LEGAY wrote: Hi, Take a look here : http://forums.4d.fr/Post/FR/17329223/1/17329529#17329529 It is 4D code to parse

Re: Convert Picture Crashing 4D

2017-02-08 Thread Sannyasin Siddhanathaswami
Aloha, Thanks Nigel, and all. Even exporting the picture also causes a crash on some of the pictures. I’ll do some more testing. In answer to Charles’s questions, both server and client are on a Mac, so quicktime is installed by default. I don’t see how to determine if a picture is

Re: Convert Picture Crashing 4D

2017-02-07 Thread Nigel Greenlee
Bruno. Nice code.-solid bit of work there..don't mind if I take a copy do you. Nigel Greenlee > On 7 Feb 2017, at 09:54, Bruno LEGAY wrote: > > Hi, > > Take a look here : > http://forums.4d.fr/Post/FR/17329223/1/17329529#17329529 > > It is 4D code to parse

Re: Convert Picture Crashing 4D

2017-02-07 Thread Nigel Greenlee
Sannyasin Sorry i should have been more explanatory there..something like this(this all assumes the picture does load in the record) $Path:=System folder(Documents folder) $Path:=$Path+"Pictures" If (Test path name($Path)#Is a folder) CREATE FOLDER($Path) End if $OutPath:=$path+Folder

Re: Convert Picture Crashing 4D

2017-02-07 Thread Nigel Greenlee
Sannyasin Hi-if you having trouble with 4D crashing it you might consider exporting the picture in the what ever format it currently is and then using LEP to call the command line to convert it to a JPG, then you can re-import the new picture.

Re: Convert Picture Crashing 4D

2017-02-06 Thread Keisuke Miyako
this really depends on the nature of the picture. PNG compresses bitmap without losing any information. JPEG is a more heuristic kind of algorithm for natural photos, where similar colours blend into each other but contrasting colours can create ugly pixels on the edges. 2017/02/07

Re: Convert Picture Crashing 4D

2017-02-06 Thread Charles Miller
We have found many problems with running convert many pictures using v15.x (1,2,and 3). Make sure as others have said that 1. Quick time enabled on server 2. Quick time installed- 3. check to see if picture compressed and if so uncompress first 4 Run on client not server. 5. Also I would not go

Re: Convert Picture Crashing 4D

2017-02-06 Thread Keisuke Miyako
if the picture contains multiple formats, including the format you specified, the command simply uses the existing copy. to really force a conversion, you might want to avoid JPEG 2017/02/07 7:02、Sannyasin Siddhanathaswami > のメール: CONVERT

Re: Convert Picture Crashing 4D

2017-02-06 Thread Keisuke Miyako
sounds like the header of the JPEG (or maybe it's QuickTime, who knows...) has a bad offset value. are you using a 32-bit version of 4D? is QuickTime activated? does it really have to be JPEG (as opposed to, say, PNG)? do you really need to apply compression? why not call GET PICTURE FORMATS

Convert Picture Crashing 4D

2017-02-06 Thread Sannyasin Siddhanathaswami
Aloha, We are starting the preparations for v16, and dealing with the picture issues. Let’s just say we have tons of ancient photos in our database! We are currently using v15.3 on a Mac (server - client). Basically, we are trying to convert all pictures to jpg. Unfortunately, doing this