Icon load issue
In my Adobe plugin I am trying oad the toolbar icon like this ASPathName pn = ASFileSysCreatePathFromCString( ASGetDefaultFileSys(), settings.logoFilename );
PDDoc doc = PDDocOpen( pn, ASGetDefaultFileSys(), NULL, false );
AVIcon icon1 = AVIconCreateFromPDF( doc, 0, 24, 24 );
AVIcon icon2 = AVIconCreateFromPDF( doc, 1, 24, 24 );
AVToolBarSetIcon( mainToolbar, icon1, icon2 ); but the problem is since the icons are taken from a pdf, the white background of the pdf also appears in the icon. I don't have a perfectly square icon. It has irregular shape. So how to make only the image part of the pdf come in as a icon
