Search found 2 matches

by elvinlee
2012-11-21T19:48:42-07:00
Forum: Developers
Topic: BlobToImage corrupted the blob
Replies: 0
Views: 8732

BlobToImage corrupted the blob

Found that the blob passed to function BlobToImage will become bad pointer after the function call return. The blob initially points to contents of a psd file. Did some debugging to IM code and found that blob became invalid after the call to SeekBlob(image,layer_offset,SEEK_CUR) by ReadPSDImage in ...
by elvinlee
2012-11-20T00:18:43-07:00
Forum: Bugs
Topic: BlobToImage corrupted the blob
Replies: 0
Views: 3803

BlobToImage corrupted the blob

Hi,

I have try to call BlobToImage by passing a blob which points to the content of a psd image file. However, once the function call return, the blob seem to have corrupted. Accessing the memory pointed by the blob will caused access violation.

Any idea what causes the problem?