Call to DestroyBlob() throws error
Shantanu Daithankar <[email protected]> Wed, 30 Jun 2010 13:48:16 +0530
| Newsgroups | gmane.comp.video.image-magick.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi,
I am trying to delete the Blobs I create for displaying OpenGL textures in
my code running on Ununtu.
In the folder that gets installed in "/usr/local/include" there is a
directory "Magick++"(which I use in my code primarily) containing "Blob.h"
and directory "magick" containing "blob.h"(a C header file having the method
DestroyBlob()).
I have tried using the method by including the header file but an error is
shown saying the method has not been declared in the current scope.
The code goes as follows:
#include <Magick++.h>
#include <Image.h>
#include <Blob.h>
#include <blob.h>
Magick::Image im;
Magick::Blob blob;
im.read(StrArrFileNames[GlobalCnt].c_str());
im.magick("RGBA");
im.write(&blob);
.
.
.*
*DestroyBlob(im);
Any idea what I am doing wrong here?
-Shantanu