Blazor barcodes and shapes

Stimulsoft Reports.WEB discussion
fabiodvs
Posts: 7
Joined: Thu Aug 05, 2021 1:51 pm

Blazor barcodes and shapes

Post by fabiodvs »

Hi,

when using barcodes and shapes in the blazor version of the reports they are displayed correctly in the designer but not in the preview.
And, actually, in the latest version (2021.3.6) the preview fails with the error "Either the image format is unknown or you don't have the required libraries to decode this format [GDI+ status: UnknownImageFormat]".

Is there any workaround for this?
Andrew
Posts: 4104
Joined: Fri Jun 09, 2006 3:58 am

Re: Blazor barcodes and shapes

Post by Andrew »

Hello,

Thank you for the request.

Please share the report template with us. This will help us locate the issue and give you proper suggestions.
Thank you.
fabiodvs
Posts: 7
Joined: Thu Aug 05, 2021 1:51 pm

Re: Blazor barcodes and shapes

Post by fabiodvs »

Hello,

any report template works, as soon as the report has a barcode or a shape the error occurs.
Anyway, I've attached a sample.

Report (13).mrt
(6.28 KiB) Downloaded 94 times

Thanks for the reply.
HighAley
Posts: 8431
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Blazor barcodes and shapes

Post by HighAley »

Hello,

The Barcodes and Shapes are not supported by Blazor report engine yet.

Thank you.
fabiodvs
Posts: 7
Joined: Thu Aug 05, 2021 1:51 pm

Re: Blazor barcodes and shapes

Post by fabiodvs »

Hi.

Any idea when it will be supported?
In version 2021.3.5 the preview is a bit wonky but it prints to PDF correctly so it seems to me that you're close 🙂
Andrew
Posts: 4104
Joined: Fri Jun 09, 2006 3:58 am

Re: Blazor barcodes and shapes

Post by Andrew »

Hello,

There is its own rendering of images, shapes, and barcodes in PDF. They are drawn with PDF primitives. And in other formats, shapes and barcodes are made through pictures. And the problem is that in Blazor, there is no built-in support for images. Everything goes through additional libraries, etc. And, for now, we have not yet found a suitable solution (including third-party licensing issues). You may send a request to support@stimulsoft.com. At an additional charge, we may consider adding this feature faster.

What are your thoughts on this?
fabiodvs
Posts: 7
Joined: Thu Aug 05, 2021 1:51 pm

Re: Blazor barcodes and shapes

Post by fabiodvs »

Hello,

I kind of understand what you said but why does the designer work then?!

Regards.
Lech Kulikowski
Posts: 6245
Joined: Tue Mar 20, 2018 5:34 am

Re: Blazor barcodes and shapes

Post by Lech Kulikowski »

Hello,

Which designer do you mean - standalone .exe?

Thank you.
fabiodvs
Posts: 7
Joined: Thu Aug 05, 2021 1:51 pm

Re: Blazor barcodes and shapes

Post by fabiodvs »

Hello,

no, blazor designer.
Lech Kulikowski
Posts: 6245
Joined: Tue Mar 20, 2018 5:34 am

Re: Blazor barcodes and shapes

Post by Lech Kulikowski »

Hello,

In the design time and in the viewer are using different algorithms for showing components, rendering.

Unfortunately, Barcodes and Shapes are not supported in the Blazor.

Thank you.
Post Reply