TRichView 21.7 – image scaling modes, barcodes in ReportWorkshop

We’ve released TRichView v21.7, ScaleRichView 12.1.1, ReportWorkshop 5.4.

Trial versions are available here: https://www.trichview.com/download/

Main changes in this update:

  • ability to turn smooth image scaling on/off
  • barcode extension for ReportWorkshop

Image scaling mode

A new property is added to image object: rvepSmoothScaling.
Non-zero value: smooth image scaling (default)
0: simple image scaling

By default, TRichView uses an advanced scaling algorithm to scale images. For most images, it produces good results.
However, sometimes smooth scaling is undesirable, for example, for barcodes or pixel art.
The new property allows to turn smooth scaling on/off.

This image shows the same image resized using different options:

In RichViewActions, users can define this option in the dialog of image properties:

Barcodes in ReportWorkshop

A new add-on is included: <TRichView Dir>\ThirdParty\Barcode\Zint\Source\RVReportZintBarcode.pas.

It uses Zint Barcode Generator for Delphi to display values as barcodes.

Zint Barcode Generator for Delphi is a free open-source library (Apache-2.0 license).
This is a complete port: everything is in Pascal code; external DLLs are not used.
Both Delphi and Lazarus are supported (but I am not sure about minimum required version of Delphi)

This add-on implements two new field types: barcode and qrcode. They are almost identical, except for the default types of barcodes: EAN for barcode, QR code for qrcode.

In a format string, you can specify colors, size, border and margins, font (for barcodes that may include text).

Examples:

Displaying URL as QR code:

{="https://www.trichview.com" qrcode}

Displaying content of VALUE field as QR code, error correction level = H (maximum), dark red color:

{VALUE qrcode "ecc=H color=darkred"}

Displaying content of VALUE field as UPC barcode, 300×50 pixels, without text:

{VALUE barcode "type=upca width=300 height=50 showtext=no"}

Help about this extension:
https://www.trichview.com/help-report/index.html?barcodes_with_zint_for_delphi.htm
Supported types of barcodes:
https://www.trichview.com/help-report/index.html?types_of_barcodes.htm

Sergey Tkachenko

Recent Posts

TRichView 24.0.2 – new background dialogs

This update completes the work on the new background definition system (well, almost).The new properties…

5 days ago

RVMedia 11.2 – RAD Studio 13 Florence, second remuxing

We are pleased to announce a new release of RVMedia. RVMedia now supports RAD Studio…

1 month ago

TRichView 24 – RAD Studio 13 Florence, chat, background

We are pleased to announce new releases of TRichView, ScaleRichView, and ReportWorkshop. All components now…

2 months ago

ADUG Symposium – May 9th

The next ADUG Symposium will take place on Friday, 9th May. You can attend in…

7 months ago

ANN: IDEInstaller 2.5

IDEInstaller 2.5 includes support for 64-bit Delphi IDE.

7 months ago

ANN: TRichView 23.2 – Markdown in Clipboard

We have released TRichView 23.2 and updates of related components The main new feature in…

7 months ago