Image.display() is not working in Magic++ API
Posted: 2010-10-29T06:46:54-07:00
hi,
i'm a new nie in Magic++;
my devlopmenet IDE is visual studio 2008 and operating system is winXPand i'm using the dlls compiled using visual studion 2008 from the sources available.
i searched a lot but couldn't find meither a working example or details.
my problem is i need to display the image i read using the IMage class.
from the help i found there is a function display in image class.
but calling the function doesn't help.
the code snippet is as follows.
somebody please help me
thanks in advance
cheers,
Suji
i'm a new nie in Magic++;
my devlopmenet IDE is visual studio 2008 and operating system is winXPand i'm using the dlls compiled using visual studion 2008 from the sources available.
i searched a lot but couldn't find meither a working example or details.
my problem is i need to display the image i read using the IMage class.
from the help i found there is a function display in image class.
but calling the function doesn't help.
the code snippet is as follows.
Code: Select all
string fname("C:\\test.jpeg");
Magick::Image image( fname );
image.modulate( 1.0, 1.0, 1.0 );
image.display();
image.write(fname);
thanks in advance
cheers,
Suji