Subject | Re: Blob - Invalid segment size |
---|---|
Author | inoffensive_2006 |
Post date | 2008-06-02T19:30:20Z |
--- In firebird-support@yahoogroups.com, "Vlad Khorsun" <hvlad@...> wrote:
This works.
Helen, perhaps you might mention in your excellent book that
reading and writing blobs larger than 64KB - 1 in size must be done as
a series of reads and writes, in blocks with sizes less than 64KB - 1.
I appreciate all the suggestions.
Thanks
Larry
>< Snip >
> > With larger images to save in blobs, IBPP is throwing exceptions
> > with this text:
> >
> > Context: Blob::Write
> > Message: Invalid segment size (max 64Kb-1)
> >
> Try to Write image_buffer in loop using smaller chunks, say 64K-3.Thanks Vlad, and eveybody who responded:
This works.
Helen, perhaps you might mention in your excellent book that
reading and writing blobs larger than 64KB - 1 in size must be done as
a series of reads and writes, in blocks with sizes less than 64KB - 1.
I appreciate all the suggestions.
Thanks
Larry