1;
2; by Sylwester Arabas <slayoo (at) igf.fuw.edu.pl>
3;
4function QUERY_BMP, filename, info
5;
6
7compile_opt idl2, hidden
8
9ON_ERROR, 2
10;
11; Do we have access to ImageMagick functionnalities ??
12;
13if (MAGICK_EXISTS() EQ 0) then begin
14    MESSAGE, /continue, "GDL was compiled without ImageMagick support."
15    MESSAGE, "You must have ImageMagick support to use this functionaly."
16endif
17;
18return, MAGICK_PING(filename, 'BMP', info=info)
19;
20end
21