Re: Write PICT to disk, 64bit

2020-02-19 Thread Keisuke Miyako via 4D_Tech
some like this?

https://github.com/miyako/4d-plugin-raw-picture-data

https://miyako.github.io/2020/02/20/4d-plugin-raw-picture-data.html

On Feb 14, 2020, at 0:17, Bill Hutten via 4D_Tech 
<4d_tech@lists.4d.com> wrote:

We would like to be able to write these images to disk - but PICTURE TO BLOB 
and WRITE PICTURE FILE both require a relevant codec, which of course for PICT 
does not exist in 64bit 4D. Does anyone have any idea how we might solve this 
problem?

**
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
**

Re: Write PICT to disk, 64bit

2020-02-15 Thread ADeeg via 4D_Tech
4D Tech mailing list wrote
> Hi all: We have some 4D Write Pro documents that contain PICT (and other
> format) images. This code will give us a list of all images from the
> document:
> 
> $res := WP Get Elements($area; wk_type_image)
> 
> We would like to be able to write these images to disk - but PICTURE TO
> BLOB and WRITE PICTURE FILE both require a relevant codec, which of course
> for PICT does not exist in 64bit 4D. Does anyone have any idea how we
> might solve this problem?
> 
> 
> Thanks
> 
> - bill

Bill,

Not validated try this coding „.4PCT“ 

Armin




--
Sent from: http://4d.1045681.n5.nabble.com/4D-Tech-f1376241.html
**
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
**

Re: Write PICT to disk, 64bit

2020-02-14 Thread Chuck Miller via 4D_Tech
sure did you try moving into blob then blob to document. You may have to export 
and import into a version of 4D that supports 32 bit if running server, you may 
be able to connect using a 32 bit client you did not say what version of 4D you 
are using. All of these should have been fixed while in 32 
Regards

Chuck

 Chuck Miller Voice: (617) 739-0306
 Informed Solutions, Inc. Fax: (617) 232-1064   
 mailto:cjmillerinformed-solutions.com 
 Brookline, MA 02446 USA Registered 4D Developer
   Providers of 4D and Sybase connectivity
  http://www.informed-solutions.com  

This message and any attached documents contain information which may be 
confidential, subject to privilege or exempt from disclosure under applicable 
law.  These materials are intended only for the use of the intended recipient. 
If you are not the intended recipient of this transmission, you are hereby 
notified that any distribution, disclosure, printing, copying, storage, 
modification or the taking of any action in reliance upon this transmission is 
strictly prohibited.  Delivery of this message to any person other than the 
intended recipient shall not compromise or waive such confidentiality, 
privilege or exemption from disclosure as to this communication. 

> On Feb 13, 2020, at 10:17 AM, Bill Hutten via 4D_Tech <4d_tech@lists.4d.com> 
> wrote:
> 
> Hi all: We have some 4D Write Pro documents that contain PICT (and other 
> format) images. This code will give us a list of all images from the document:
> 
> $res := WP Get Elements($area; wk_type_image)
> 
> We would like to be able to write these images to disk - but PICTURE TO BLOB 
> and WRITE PICTURE FILE both require a relevant codec, which of course for 
> PICT does not exist in 64bit 4D. Does anyone have any idea how we might solve 
> this problem?
> 
> 
> Thanks
> 
> - bill

**
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
**

Write PICT to disk, 64bit

2020-02-13 Thread Bill Hutten via 4D_Tech
Hi all: We have some 4D Write Pro documents that contain PICT (and other 
format) images. This code will give us a list of all images from the document:

$res := WP Get Elements($area; wk_type_image)

We would like to be able to write these images to disk - but PICTURE TO BLOB 
and WRITE PICTURE FILE both require a relevant codec, which of course for PICT 
does not exist in 64bit 4D. Does anyone have any idea how we might solve this 
problem?


Thanks

- bill
**
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
**