I have a study purpose project made of C++ with OpenGL.
My simple texture reading system is using Magick++;
I can thankfully say that it works for almost types I've tried to load.
The problem is that I cannot access the offset of x and y of each frame for an optimized version of gif animation.
I'm using a test like this:
Code: Select all
std::list<Magick::Image> images;
readImages( &images, "/database/obj/gif_test.gif" );
std::list<Magick::Image>::iterator it, end;
it = images.begin();
end = images.end();
while( it != end )
{
cout << it->geometry().xOff() << endl;
++it;
}
I have searched for other possibilities to find offsets but i could only find it under Geometry class.
Could you help me with a hint or link to a possible solution.
I've already lost a time searching an answer on google and here but I couldn't find dedicated information regarding Magick++.
Best Regards