[magick-users] Problem with MagickGetImageResolution

arcanaimperii at imagemagick.org arcanaimperii at imagemagick.org
Tue Oct 16 07:16:24 PDT 2007


> double* x_buffer;
> double* y_buffer;
>  MagickGetImageResolution(wand_image_attr, x_buffer, y_buffer);

Try this instead:

  double x,y;
  MagickGetImageResolution(wand_image_attr, &x, &y);


More information about the Magick-users mailing list