Thanks Bernardo,

I can read the blobs from SQLite. The problem is that they're stored as FUEL inside SQLite and I don't know how to read them back to recover the png/jpeg image that was serialized that way.

Anyway, using Fuel instead of SQLite solved the external persistency problem and I can read and store them without any problem.

Cheers,

Offray


On 02/07/16 21:48, Bernardo Ezequiel Contreras wrote:
i found this
http://stackoverflow.com/questions/625029/how-do-i-store-and-retrieve-a-blob-from-sqlite

hth


On Sat, Jul 2, 2016 at 11:03 PM, Offray Vladimir Luna Cárdenas <offray.l...@mutabit.com <mailto:offray.l...@mutabit.com>> wrote:

    Hi,

    I have not solved this issue, but I'm using Fuel for my
    persistence model instead of SQLite in this project and is working
    like a charm. Serialization and materialization of objects,
    including png/jpeg images in external files is pretty fast and
    space efficient.

    Cheers,

    Offray


    On 02/07/16 16:59, Offray Vladimir Luna Cárdenas wrote:

    Hi,

    I was storing Pharo objects into an external SQLite3 database. It
    went fine, but now all my png/jpg images are serialized with
    FUEL, when I try to see them inside SQLite and when I import them
    back to the image, they're long byte streams. There is any way to
    recover the images as png/jpg morphs that visible inside the
    image again? How can I disable this automatic serialization for
    making the database portable without using FUEL to recover back
    the PNG/JPG images?

    Thanks,

    Offray





--
Bernardo E.C.

Sent from a cheap desktop computer in South America.

Reply via email to