Search found 1 match

by Jay
2016-01-16T21:31:30-07:00
Forum: Bugs
Topic: how can I get the reallocated buffer pointer
Replies: 0
Views: 5637

how can I get the reallocated buffer pointer

Hi~

I use imagemagick 6.7.9 C api

when i use BlobToImage(const ImageInfo *,const void * buf,const size_t,ExceptionInfo *) to convert raw image data (PSD) to image object, i found that this function will reallocate my image buf (use realloc()).

Actually, BlobToImage() will call ReadImage(), then ...