Convert AVIcon to PNG
Hi,
We're looking at deploying a plugin (targetting both Acrobat Pro and Reader) and we need to convert an AVIcon object to a raster image file (ultimately a PNG file).
As far as we can determine, the AVIcon class is purposedly obsfucated and there are no utility functions to convert between AVIcon and other formats. We're following up here to see if we have missed anything.
As for alternatives, we'd appreciate if anyone could indicate how to convert a PDF page to a raster image from within Reader. We looked at PDPageDrawContentsToWindowEx() but it will throw. We were unable to find an example on how to this function in plugin and we're not sure we're passing in correct data.
Cheers,
Nuno
