soft_converter 0.1.0-dev copy "soft_converter: ^0.1.0-dev" to clipboard
soft_converter: ^0.1.0-dev copied to clipboard

Convert some videos and images to some formats

example/soft_converter_example.dart

// ignore_for_file: avoid_print

import 'package:soft_converter/soft_converter.dart';

Future<void> main() async {
  final imageConverter = SoftImageConverter();

  try {
    final file = await imageConverter.toWEBP(
      input: 'assets/space.jpg',
      output: 'assets/space.webp',
    );

    print('Image file: ${file.path}');
  } catch (e) {
    rethrow;
  }
}
4
likes
0
points
11
downloads

Publisher

verified publishersoftyes.com.br

Weekly Downloads

Convert some videos and images to some formats

Homepage
Repository (GitHub)
View/report issues

Topics

#converter #image #video #ffmpeg #cwebp

License

unknown (license)

Dependencies

path

More

Packages that depend on soft_converter