*/
public static void convert(File source, File destination,
I_UIupdater callback) throws IOException
{
APNG apngObject = null;
try
{
apngObject = APNG.convertGiftoAPNG(source, callback);
} catch (IOException ex)
{
throw new IOException("error while reading", ex);
}
FileOutputStream fw;
BufferedOutputStream bos;
try
{
fw = new FileOutputStream(destination);
bos = new BufferedOutputStream(fw);
apngObject.write(bos);
bos.close();
fw.close();
} catch (IOException ex)