Converting between Blob and Picture in v14

Bruno LEGAY (5/19/14 6:19PM)
Joshua Fletcher (5/19/14 7:22PM)
4dialog (5/20/14 2:54AM)


Bruno LEGAY (5/19/14 6:19 PM)

Hi,

One of the use of "stuffing" a blob into a picture was the lack of
blob array.

I believe that BLOB ARRAYs are one of the new feature in 4D v14.

Anyhow, since 4Dv11.2, you can use this command / codec :

BLOB TO PICTURE($vx_blob;$vi_pict->;".4DBlob")

PICTURE TO BLOB ($vi_pict->;$vx_blob;".4DBlob")

HTH
Bruno

Joshua Fletcher (5/19/14 7:22 PM)

Bruno's post implies the important bit: what are you actually trying
to do? ?What is the goal? ?Perhaps there's a new/better way to do it
since 2004? (I should hope so! :)

Just to confirm, Array BLOB does exist in 4D v14:

http://doc.4d.com/4Dv14.1/help/Command/en/page1222.html

Kind regards,

Josh

--
Josh Fletcher
Technical Account Manager
4D, Inc

color><param>00000,0000,DDEE/param>
/color>

-----Original Message-----
color><param>00000,0000,DDEE/param>OOne of the use of "stuffing" a
blob into a picture was the lack of blob
array.

I believe that BLOB ARRAYs are one of the new feature in 4D v14.
/color>

4dialog (5/20/14 2:54 AM)

".4DBlob"?
What codec is this. I cant find anything in the 4d document on this?

But i have problems to read a picture document after store it in a
blob?

1. The picture comes via drop and "get file from pastboard"
2. Stores a thumb in a pict field - this is ok
3. stores the full file in a blob with pict to blob with JPEG codec
4. When recreate the file i use - "blob to pictue" with .jpg codec
+write
picture file. When tries to open the file with preview, no picture
document
shows in preview but preview is started correct...?

Will .4DBlob help on this?

-----
Hilsen
--------------------------------------
Helge Antonsen
4Dialog as
Tel: +47 64 000 164
Mob: +47 90 15 56 19
Web: www.4dialog.no
--
View this message in context:

http://4d.1045681.n5.nabble.com/Converting-between-Blob-and-Picture-in-v14
-tp5730572p5730606.html
Sent from the 4D Tech mailing list archive at Nabble.com.

Reply to this message

Summary created 5/20/14 at 11:19AM by Intellex Corporation

Comments welcome at: feedback@intellexcorp.com