Re: Rotate Picture

2019-06-22 Thread Keisuke Miyako via 4D_Tech
I think the default export option is "copy" if you don't SVG_CLEAR (see Cannon's code) you'd be leaking memory. I suppose you could save speed with the "own" option (you won't need to CLEAR any more) but the difference is probably negligible. 2019/06/23 9:28、JOHN BAUGHMAN via 4D_Tech

Re: Rotate Picture

2019-06-22 Thread Cannon Smith via 4D_Tech
For all I remember you gave it to me! :-) Glad it works. -- Cannon.Smith Synergy Farm Solutions Inc. Aetna, AB Canada > On Jun 22, 2019, at 6:28 PM, JOHN BAUGHMAN via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > Your code looked vaguely familiar to me. I had not thought to look and see if

Re: Rotate Picture

2019-06-22 Thread JOHN BAUGHMAN via 4D_Tech
Thanks Cannon. Your code looked vaguely familiar to me. I had not thought to look and see if I already had a method to rotate pictures. Sure enough I do. Looks very similar to yours, even uses the same variable conventions. Perhaps you gave this to me back in 2011? In any event thanks. I am

Re: Rotate Picture

2019-06-22 Thread Cannon Smith via 4D_Tech
Hi John, Here is the code from a method I use called Photo_Rotate: //This method rotates a picture. While it will rotate the picture to //any angle, this method is really expecting it to rotate 90˚, 180˚, //or 270˚. C_PICTURE($1;$gPicture) C_REAL($2;$rDegrees) //Expects 90, 180, or 270

Rotate Picture

2019-06-22 Thread JOHN BAUGHMAN via 4D_Tech
Is it possible to rotate a picture using native 4D commands? Google search finds references to Miyako’s rotate picture component, SVG, GitHub, etc. I do not see any way to do it with Transform Picture. If not 4D commands, what is the quickest and easiest way to rotate a picture in a picture

HTTP connection to 4D server thru Mac FIrewall

2019-06-22 Thread JOHN BAUGHMAN via 4D_Tech
Client wants to turn on the firewall on the 4D server machine. We have an iOS app that requests data from the 4D server which stops connecting with the FireWall on. I tried adding 4D server to the allowed apps in Advanced setting of the Firewall. I also have a Xojo web app that works, but it

Re: Import mysql dump into 4D v15, build database structure & import data

2019-06-22 Thread Narinder Chandi via 4D_Tech
Michael, Hi. Well, straight away I can see that the your CREATE TABLE command includes specific directives that only apply to MySQL, e.g. ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci so that will most likely be the reason why it is ignored. I think you need to adapt

Re: Import mysql dump into 4D v15, build database structure & import data

2019-06-22 Thread jarosz via 4D_Tech
Hi Narinder I have found that the SQL EXECUTE SCRIPT command will import records into a pre-existing database structure. So INSERT INTO `nmiep_action_logs` (`id`, `message_language_key`, `message`, `log_date`, `extension`, `user_id`, `item_id`, `ip_address`) VALUES (1,

HTTP connection to 4D server thru Mac FIrewall

2019-06-22 Thread JOHN BAUGHMAN via 4D_Tech
Client wants to turn on the firewall on the 4D server machine. We have an iOS app that requests data from the 4D server which stops connecting with the FireWall on. I tried adding 4D server to the allowed apps in Advanced setting of the Firewall. I also have a Xojo web app that works, but it