[FAQ] Question about undocumented...

Ruslan Zasukhin sunshine at public.kherson.ua
Fri Jun 13 09:01:26 CDT 2003


on 6/13/03 2:08, Chuck at rwc1717 at shaw.ca wrote:

> Hi Ruslan:
> Are you saying that I won't be able to store raw data strings in blob fields
> in Valentina Studio (a future release?)?

> Why would Valentina need to know what the strings are about in a blob field?
> Afterall, I extract them and then convert according to whic field ie:storing a
> jpeg or now a mpeg....using MBS.

No. I am saying other.

BLOB field can store anything:
    pictures, movies, arrays, matrixes, and so on.

When you put something in the BLOB, ONLY YOUR app know exactly what you have
store here. Correct?

Any other app will not be able read YOUR blob with sense,
Only as raw data.

This is why we have now 2 additional kinds of BLOB field: TEXT and Picture.

IF you use in your app TEXT field, then EACH other app now know that here is
plain text.

IF you use Picture field, then each other app know here is picture. Also in
picture field is small header where is stored TYPE of picture, so other apps
will be able correctly recognize TIFF or JPG.

You see?

So if you wan that in future Valentina Sutdio was able browse and SHOW you
your pictures you should use Picture field and this new methods.

We need also such field types for MOVIE and SOUND.
For now we do not have them, so MPEG you should store into BLOB.
Later you will need transform it to MOVIE format (again, if you want..)

> Are you speaking of VPicture.GetFormatedPict() and
> VPicture.PutFormatedPict(inPictType as integer, inPictdata as String) or
> VBlob.GetFormatedPict() and VBlob.PutFormatedPict(inPictType as integer,
> inPictdata as String)?

Vpicture class.

VBLOB do not have such functions.


> From the choices of types...I will still have to store the mpegs in a blob
> field.

For now yes.

> So, if you can explain more, I seem to have gone dumb.
> 
> Oh, yeah, does version 1.9 have these calls or do I need a more recent
> version?

It seems 1.9.7 already have them.

You can use Plugin Plunger to see that.
Or prompt of RB will show you, although it sometimes works not correctly.

-- 
Best regards,
Ruslan Zasukhin      [ I feel the need...the need for speed ]
-------------------------------------------------------------
e-mail: ruslan at paradigmasoft.com
web: http://www.paradigmasoft.com

To subscribe to the Valentina mail list go to:
http://lists.macserve.net/mailman/listinfo/valentina
-------------------------------------------------------------



More information about the Valentina mailing list