$ 0 0 I have no clue how your library is written but the source code for the MagickViewer is also open source. Feel free to borrow code from my MagickViewer and use that in your application.