The image decoder cannot decode the image RRS feed

  • Question

  • Hello Experts,

    am getting below error in Migration client utility.

    The image decoder cannot decode the image. The image might be corrupted.    at System.Windows.Media.Imaging.BitmapEncoder.SaveFrame(SafeMILHandle frameEncodeHandle, SafeMILHandle encoderOptions, BitmapFrame frame)     at System.Windows.Media.Imaging.BitmapEncoder.Save(Stream stream)     at MigrationService.TiffUtil.mergeTiffPages(String[] sourceFiles, String targetFile)

    This utility fetches the tiff images from file system & combine them in a single tiff file.

    At the time of combining some of the images failed & the logs shows the above mentioned error.

    Kindly suggest the cause of this exception.

    Thursday, September 7, 2017 1:55 PM

All replies

  • I would suggest that you ask in the support of the utility.  This forum is for WPF questions.

    Lloyd Sheen

    Thursday, September 7, 2017 2:56 PM

  • Hi Prashant Patil_960,

    thanks for posting here.

    As sqlguy said, you need to ask this question in the support of the utility.

    If we have any misunderstanding, you can include all necessary code snippets for anyone else to be able to reproduce your issue from scratch along with a detailed description about the results including any exception messages.

    Best Regards,

    Yohann Lu

    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Friday, September 8, 2017 6:34 AM