image 4.2.0 copy "image: ^4.2.0" to clipboard
image: ^4.2.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.

1468
likes
150/ 160
pub points
100%
popularity

We analyzed this package 8 days ago, and awarded it 150 pub points (of a possible 160):

OK
Follow Dart file conventions
30 / 30trigger folding of the section

10/10 points: Provide a valid pubspec.yaml

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

10/10 points: Use an OSI-approved license

Detected license: MIT.

OK
Provide documentation
20 / 20trigger folding of the section

10/10 points: 20% or more of the public API has dartdoc comments

1871 out of 3158 API elements (59.2 %) have documentation comments.

Some symbols that are missing documentation: image.BinaryQuantizer, image.BinaryQuantizer.BinaryQuantizer, image.BinaryQuantizer.getColorIndex, image.BinaryQuantizer.getColorIndexRgb, image.BinaryQuantizer.palette.

10/10 points: Package has an example

OK
Platform support
20 / 20trigger folding of the section

20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android
  • ✓ iOS
  • ✓ Windows
  • ✓ Linux
  • ✓ macOS
  • ✓ Web
partial
Pass static analysis
40 / 50trigger folding of the section

40/50 points: code has no errors, warnings, lints, or formatting issues

INFO: Dangling library doc comment.

lib/src/util/_internal.dart:1:1

  ╷
1 │ ┌ /// Annotates a function or class that's for internal use within the image
2 │ └ /// library and is not to be exported as part of the main API.
  ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/util/_internal.dart

INFO: Dangling library doc comment.

lib/src/util/clip_line.dart:1:1

  ╷
1 │ ┌ /// Clip a line to a rectangle using the Cohen–Sutherland clipping algorithm.
2 │ │ /// [line] is a list of 4 ints <x1, y1, x2, y2>.
3 │ │ /// [rect] is a list of 4 ints <x1, y1, x2, y2>.
4 │ │ /// Results are stored in [line].
5 │ │ /// If [line] falls completely outside of [rect], false is returned, otherwise
6 │ └ /// true is returned.
  ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/util/clip_line.dart

OK
Support up-to-date dependencies
40 / 40trigger folding of the section

10/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest
archive ^3.4.0 3.6.1 3.6.1
meta ^1.3.0 1.15.0 1.15.0
xml ^6.0.1 6.5.0 6.5.0
Transitive dependencies
Package Constraint Compatible Latest
collection - 1.19.0 1.19.0
crypto - 3.0.3 3.0.3
path - 1.9.0 1.9.0
petitparser - 6.0.2 6.0.2
typed_data - 1.3.2 1.3.2

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

10/10 points: Package supports latest stable Dart and Flutter SDKs

20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.9, Dart 3.4.4.

Check the analysis log for details.

1468
likes
150
pub points
100%
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.

Repository (GitHub)
View/report issues

Documentation

Documentation
API reference

License

MIT (license)

Dependencies

archive, meta, xml

More

Packages that depend on image