Free Support Forum - aspose.com

Error converting TIF to PNG

Hi.
I´m having problems with some TIF files when converting them to PNG extension.
Print and file.tif attached.
TifToPng.zip (250.8 KB)

Don´t know if Im missing something on PngOptions…

Here is the code:

class Program
{
static void Main(string[] args)
{
using (MemoryStream msOut = new MemoryStream()){

            using (var image = Aspose.Imaging.Image.Load("C:\\Users\\Eduardo\\Desktop\\Nova pasta\\Original\\Exemplo C-2320.tif"))
            {
                image.Save(msOut, new Aspose.Imaging.ImageOptions.PngOptions());                

            }
        }
    }

}

Thanks in advance,

Eduardo

@EduardoDoria

Your query is related to Aspose.Imaging. We are moving this forum thread to Aspose.Imaging forum where you will be guided appropriately.

@EduardoDoria,

I have worked with the source file shared by you and have been able to observe the issue. An issue with ID IMAGINGNET-3633 has been created in our issue tracking system to further investigate and resolve the issue. This thread has been linked with the issue so that you may be automatically notified once the issue will be fixed. We will share good news with you soon.

1 Like