imgix

Last updated:

0 purchases

imgix Image
imgix Images
Add to Cart

Description:

imgix

Imgix Dart #
An Imgix library for Dart. Generate Imgix URLs with options easily
For use in Flutter, check out imgix_flutter
Install #
Add this to your package's pubspec.yaml file:
dependencies:
imgix: ^0.3.0
copied to clipboard
Usage #
API Docs
import 'package:imgix/imgix.dart';

main() {
final url = getImgixUrl(
"https://test.imgix.net/test.png",
ImgixOptions(
width: 100,
height: 200,
format: ImgixFormat.jpg,
quality: 75,
auto: [ImgixAuto.compress],
),
);

print(url);
// https://test.imgix.net/test.png?fm=jpg&h=200&w=100&auto=compress&q=75
}
copied to clipboard
Features and bugs #
Some options are missing. They will be added on request, or open a pull request!
Please file feature requests and bugs at the issue tracker.

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.