Re: Getting image from JSON

2017-09-06 Thread Douglas Cryer via 4D_Tech
OK I have figured it out…

BASE64 DECODE($vt_Image;$vx_BLOb)
BLOB TO PICTURE(vx_BLOb;$vg_Picture;”.png”)

Works…

Regards,  Dougie


telekinetix Limited- J. Douglas Cryer
Phone : 01234 761759  Mobile : 07973 675 218
2nd Floor Broadway House, 4-6 The Broadway, Bedford MK40 2TE
Email : jdcr...@telekinetix.com   Web : 
http://www.telekinetix.com 


**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

RE: [ANN] 4D v16.2 ready for download

2017-09-06 Thread Piotr Chabot Stadhouders via 4D_Tech
Hi Brian,

Windows 10
I notice something strange (I also noticed this in 16.1 HF2 and posted this 
here without a response) :
In the property list the checkboxes and also the edit button look like an 
"earlier" windows version,
i.e. the checkboxes have a sunken border and the button a raised border
In v16.1 these object look as expected in Windows 10, i.e. "flat", i.e. 
checkboxes flat black border and edit button flat gray border

This is not a problem of course but I am wondering if there lies another 
problem beneath.

Gr,

Piotr

> -Oorspronkelijk bericht-
> Van: Brian Young [mailto:byo...@4d.com]
> Verzonden: dinsdag 5 september 2017 21:00
> Aan: 4D iNug Technical <4d_tech@lists.4d.com>
> Onderwerp: [ANN] 4D v16.2 ready for download
> 
> We are pleased to announce the availability of the latest update to our 4D
> v16 product line:
> 
>4D v16.2
> 
> 
> In addition to bug fixes, 4D v16.2 contains the open source Xerces library
> upgrade to version 3.1.4.
> 
> Registered users may download 4D v16.2 for free from the 4D download
> page, where the latest compatibility matrix and release notes are also
> available.
> 
> Download:
> http://www.4d.com/downloads/products.html
> 
> Compatibility matrix:
> http://download.4d.com/Documents/Products_Documentation/LastVersion
> s/Line_16/VIntl/4D_v16_2_Certif_EN.pdf
> 
> Release notes:
> http://download.4d.com/Documents/Products_Documentation/LastVersion
> s/Line_16/VIntl/4D_v16.2_ReleaseNotes.pdf
> 
> 
> 
> 
> 
> Stay Connected:
> https://twitter.com/4Dsoftware
> https://www.linkedin.com/company/4d
> https://www.youtube.com/user/4Dsoftware
> https://www.facebook.com/4Dsoftware/
> http://forums.4d.com/
> http://blog.4d.com
> 
> 
> 

**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Getting image from JSON

2017-09-06 Thread Jeffrey Kain via 4D_Tech
It's probably base64. I think the commands in 4D are base64 encode and base64 
decode

--
Jeffrey Kain
jeffrey.k...@gmail.com




> On Sep 6, 2017, at 9:15 AM, Douglas Cryer via 4D_Tech <4d_tech@lists.4d.com> 
> wrote:
> 
> Hopefully this is a simple one for many people out there.
> 
> I am working with a REST service that is returning an image in a JSON 
> response.
> 
> The image is coming back as a long text value and I am not sure what steps I 
> need to go through to convert it to an image.
> 
> I tried : 
> TEXT TO BLOB($vt_Image;$vx_BLOb;UTF8 text with length)
> BLOB TO PICTURE(vx_BLOb;$vg_Picture;”.png”)

**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Getting image from JSON

2017-09-06 Thread Douglas Cryer via 4D_Tech
Hopefully this is a simple one for many people out there.

I am working with a REST service that is returning an image in a JSON response.

The image is coming back as a long text value and I am not sure what steps I 
need to go through to convert it to an image.

I tried : 
TEXT TO BLOB($vt_Image;$vx_BLOb;UTF8 text with length)
BLOB TO PICTURE(vx_BLOb;$vg_Picture;”.png”)

Rather nave I know…

I also want to reverse the process for something else so I can send images via 
JSON.

Regards,  Dougie


telekinetix Limited- J. Douglas Cryer
Phone : 01234 761759  Mobile : 07973 675 218
2nd Floor Broadway House, 4-6 The Broadway, Bedford MK40 2TE
Email : jdcr...@telekinetix.com   Web : 
http://www.telekinetix.com 


**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: 4D Server 15.3 crashes a server when choosing a datafile

2017-09-06 Thread Chuck Miller via 4D_Tech
Have you tried creating a new data file?

What happens if you launch the last good structure?
Do you really mean machine crashes or is it the application ?

Hope this helps
Regards
 Chuck 

Sent from my iPhone

> On Sep 6, 2017, at 1:15 AM, Paul Lovejoy via 4D_Tech <4d_tech@lists.4d.com> 
> wrote:
> 
> Hi,
> 
> We have a Mac OSX 10.10.5 server that has been running a 4D Server 15.3 
> database successfully for a few months.
> Starting a week ago, when we install a new version of the compiled database, 
> the moment we select the database file to be used with the application, the 
> machine crashes.
> This is being done via Apple Remote Desktop.
> 
> Does anyone have any idea what might be going on?
> 
> tia
> 
> Paul
> **
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: http://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **

**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Web License issue

2017-09-06 Thread Paul Dennis via 4D_Tech
4D have 2 separate licences for web one for the server and one for the
client. I can understand this if you ran both but not if you need to use one
or the other. Really dumb so I bought NTK.
Paul



--
Sent from: http://4d.1045681.n5.nabble.com/4D-Tech-f1376241.html
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**