identicon icon indicating copy to clipboard operation
identicon copied to clipboard

Request: Expose `image` package as a public export.

Open NfNitLoop opened this issue 4 years ago • 1 comments

Since Identicon.image() returns an ImageBuffer, and you have to have the image package to convert that into a useable file, it's really part of your public interface. It'd be nice if identicon would export it with a pub use image so that users don't have to manage their own dependency on the library.

NfNitLoop avatar Jul 29 '21 03:07 NfNitLoop

Alternatively, if most users are just exporting PNGs, then this is likely enough to allow them not to have to depend on image themselves:

https://github.com/NfNitLoop/identicon/pull/2/commits/b491c1fcc209e27e585649c044bffc17519116e3

NfNitLoop avatar Jul 29 '21 21:07 NfNitLoop