Thanks for your answer - you really saved me here :D

> Also be
> sure to set the image format, size, and depth (e.g. magick=>'gray',
> size=>'640x480',depth=>8).

that was the problem - i had the format and depth set but not the size.
The Problem now is that if i write the blob back to the original image and  
save it
$image->Write('out.bmp');

it saves 2 images: out-0.bmp and out-1.bmp.
out-0 does have the old data
out-1 does have the new data from the blob

is there a way to overwrite the old imagedata when calling BlobToImage()  
or must i do it manually by
using @$image = ();


_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users

Reply via email to