Completed
Last Updated: 07 Nov 2022 14:59 by ADMIN
Release R3 2022 SP1
Andres
Created on: 17 Jul 2019 13:18
Category: WordsProcessing
Type: Feature Request
2
WordsProcessing: Add support for BIN images
The .bin extension represents a binary file format which can contain images as well. When a document containing such an image is imported and exported using WordsProcessing, the image is lost and the default 'no-image' placeholder is used in its place.
8 comments
Ben
Posted on: 04 Oct 2022 15:17
Great, thanks for the quick turnaround! I've raised ticket 1582170 regarding this.
ADMIN
Nikolay Demirev
Posted on: 04 Oct 2022 15:14

Hello Ben,

Could you please open a support ticket on the topic so I can share a custom build with you? I have tested the fix with the document you have mentioned, and the fix seems to work both for DOCX import/export and PDF export.

Regards,
Nikolay Demirev
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Ben
Posted on: 03 Oct 2022 16:06
Also happy to help validate the fix if there is a hotfix build available which includes the change you mentioned you'd made?
Ben
Posted on: 03 Oct 2022 16:05

Hi Nikolay,

The first post in ticket 1580516 has a DOCX file attached which exhibits this behaviour (~800 BIN images). You'll also need to strip the bookmarks as noted in the workaround supplied by Dimitar.

Thanks,
Ben

ADMIN
Nikolay Demirev
Posted on: 27 Sep 2022 08:37

Hi Ben,

Thank you for providing the additional information.

I have tested saving a random web page to HTML, then converting it using Pandoc to DOCX, and then WordsProcessing to PDF. I was able to reproduce an exception caused by missing SVG images. I fixed it, but still, I can not be sure if this fix covers your specific case. Could you send me a sample document, which I can use to validate the fix for your exact case?

You could open a support ticket in order to attach the document, or you could use some cloud upload and share a link here.

Regards,
Nikolay Demirev
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Ben
Posted on: 26 Sep 2022 16:38

I've recently found that Microsoft Edge does not always include the file extensions of the images when saving a HTML page. Converting this to a Word document (I used Pandoc) results in a DOCX containing BIN images.

Importing this as a RadFlowDocument results in repeated KeyNotFoundExceptions being thrown and swallowed within Telerik's code for each image (for a document containing 800 images, this actually slows down the loading quite a bit). Once loaded, there are no "resource" entries for these images, which causes unhandled NullReferenceExceptions if you then try to export the document.

I note that this is recorded as a feature request, but since it causes unpredictable failures at runtime and there is no way to detect that it will happen (or has happened), I would suggest it should really be logged as a bug. At minimum, the failure modes need to be improved so that it's obvious what has happened and why, and what the consequences will be. At present, the BIN images simply vanish, and working with the document is unreliable at best as a result.

ADMIN
Nikolay Demirev
Posted on: 26 Sep 2022 15:45

Hi Ben,

Thank you for your feedback. The feature is not in our immediate plans, so I can not give you a specific timeframe for implementing it. Could you please share with us if your use case is importing and exporting a document containing that kind of image? This way, we can better understand the scope of the feature and possibly implement it sooner.

Regards,
Nikolay Demirev
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Ben
Posted on: 26 Sep 2022 10:49
This ticket has been unplanned for over 3 years - is there any indication as to where this will sit on the roadmap?