HEIC to TIFF Conversion

Hi Team,

We are currently using Aspose for .NET.
We would like to know the possible solution(s) for converting HEIC files to TIFF(with all the possible decoding & encoding options available for the other file formats).

Thanks!

@Manikandan.Murugan,

We are sorry but currently no Aspose for .NET API supports HEIC to TIFF rendering directly. We logged appropriate tickets for different APIs for the format. I am moving your thread to Aspose.PDF forum where one of our colleagues will assist you soon.

@Manikandan.Murugan

We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.

Issue ID(s): PDFNET-55665

You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.

Thanks for the update @asad.ali !

Hi Team,

Is there any update on this?

@Manikandan.Murugan

Regretfully, there has not been any update yet about this new feature. We will surely inform you once there is any progress in its implementation.

Hi @asad.ali ,

Thanks for the info!

Hi Team,

Any update on this issue?

@Manikandan.Murugan

Sadly, no updates are available at the moment about the ticket resolution. We have already recorded your concerns and will surely let you know once some progress is made in this regard. We apologize for the inconvenience.

Hi,

Any update on this PDFNET-55665?

@Manikandan.Murugan

We are afraid to share that the ticket has not been resolved yet. We will inform you as soon as we ahve some updates in this regard. We apologize for the inconvenience.

Hi Team,

Any update on this ticket?

@Manikandan.Murugan

We are afraid that the earlier logged ticket has not been yet resolved. We will inform you once we have some significant updates about its resolution. Please spare us some time.

Hi Team,

Any update on this?

PDFNET-55665 ---- Status : Open

@Manikandan.Murugan

We would like to share that we’ve implemented new API. To convert HEIC images to PDF, you should add the reference to NuGet Gallery | FileFormat.HEIC 24.7.1 and use the following code snippet:

using (var fs = new FileStream("iphone_photo.heic", FileMode.Open))
{
    HeicImage image = HeicImage.Load(fs);
    var pixels = image.GetByteArray(PixelFormat.Rgb24);
    var width = (int)image.Width;
    var height = (int)image.Height;

    var document = new Document();
    Aspose.Pdf.Page page = document.Pages.Add();
    Aspose.Pdf.Image asposeImage = new Aspose.Pdf.Image();
    asposeImage.BitmapInfo = new BitmapInfo(pixels, width, height, BitmapInfo.PixelFormat.Rgb24);
    page.PageInfo.Height = height;
    page.PageInfo.Width = width;
    page.PageInfo.Margin.Bottom = 0;
    page.PageInfo.Margin.Top = 0;
    page.PageInfo.Margin.Right = 0;
    page.PageInfo.Margin.Left = 0;

    page.Paragraphs.Add(asposeImage);
    document.Save("iphone_photo.pdf");
} 

The ticket will be closed in 24.9 version of the API which will be released in September, 2024.

Hi @asad.ali ,

We have requested for HEIC to TIFF conversion.

Could you please update?

@Manikandan.Murugan

We have already shared in our previous message that the support has been implemented and functionality can be achieved using the code snippet provided. You can use this code snippet with 24.9 version of the API that will be released next month i.e. September, 2024.

Thanks @asad.ali .

We will verify and update.

The issues you have found earlier (filed as PDFNET-55665) have been fixed in Aspose.PDF for .NET 24.9.

Thanks for the update.