1; 2; by Sylwester Arabas <slayoo (at) igf.fuw.edu.pl> 3; 4function QUERY_PNG, filename, info, image_index=image_index 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, 'PNG', info=info) 19; 20end 21