web_label_to_image 0.0.1 copy "web_label_to_image: ^0.0.1" to clipboard
web_label_to_image: ^0.0.1 copied to clipboard

A Flutter plugin to capture a web URL as a PNG image sized for thermal receipt printers (e.g., 384/576 dots) using platform WebView rendering.

web_uri_to_image #

Render a web URL to a PNG image sized for thermal receipt printers (ESC/POS).
Designed for stable printing: control width (in printer dots), scale, and render delay.

Why this package? #

Thermal printers expect a fixed pixel width (dots/line). Typical widths:

  • 58mm receipts: 384 dots
  • 80mm receipts: 576 dots

This plugin renders a web page at an exact width and returns PNG bytes you can feed into your ESC/POS image command pipeline.


Features #

  • Capture URLPNG bytes (Uint8List)
  • Specify target width in printer dots (e.g., 384/576)
  • Adjustable scale, delayMs, and timeoutMs
  • Optional transparent background (useful for some layouts)

Installation #

Add dependency:

flutter pub add web_uri_to_image
0
likes
0
points
342
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter plugin to capture a web URL as a PNG image sized for thermal receipt printers (e.g., 384/576 dots) using platform WebView rendering.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

dio, easy_logger, flutter, image, path, path_provider, plugin_platform_interface, puppeteer

More

Packages that depend on web_label_to_image

Packages that implement web_label_to_image