image 4.0.0 copy "image: ^4.0.0" to clipboard
image: ^4.0.0 copied to clipboard

Dart Image Library provides server and web apps the ability to load, manipulate, and save images with various image file formats including PNG, JPEG, GIF, BMP, WebP, TIFF, TGA, PSD, PVR, and OpenEXR.

example/example.dart

import 'package:image/image.dart' as img;

void main() async {
  await (img.Command()
  // Read a WebP image from a file.
  ..decodeWebPFile('test.webp')
  // Resize the image so its width is 120 and height maintains aspect ratio.
  ..copyResize(width: 120)
  // Save the image to a PNG file.
  ..writeToFile('thumbnail.png'))
  // Execute the image commands in an isolate thread
  .executeThread();
}
1557
likes
0
pub points
99%
popularity

Publisher

verified publisherloki3d.com

Dart Image Library provides server and web apps the ability to load, manipulate, and save images with various image file formats including PNG, JPEG, GIF, BMP, WebP, TIFF, TGA, PSD, PVR, and OpenEXR.

Repository (GitHub)
View/report issues

Documentation

Documentation

License

unknown (license)

Dependencies

archive, meta, xml

More

Packages that depend on image