Skip to main content

atnkit 0.2.0 copy "atnkit: ^0.2.0" to clipboard
atnkit: ^0.2.0 copied to clipboard

A pure Dart codec for Adobe Photoshop ATN action-set files.

example/main.dart

import 'dart:io';

import 'package:atnkit/atnkit.dart';

/// Prints the action hierarchy from the first command-line path.
Future<void> main(List<String> arguments) async {
  if (arguments.length != 1) {
    throw const FormatException('Usage: dart run example/main.dart FILE.atn');
  }
  final AtnFile file = AtnDecoder.decode(
    await File(arguments.single).readAsBytes(),
  );
  stdout.writeln(file.actionSet.name);
  for (final AtnAction action in file.actionSet.actions) {
    stdout.writeln('  ${action.name} (${action.events.length} events)');
  }
}
0
likes
160
points
645
downloads
screenshot

Documentation

API reference

Publisher

verified publisherfocale-editor.app

Weekly Downloads

A pure Dart codec for Adobe Photoshop ATN action-set files.

Repository (GitHub)
View/report issues
Contributing

Topics

#photoshop #actions #automation #codec #file-format

License

MIT (license)

Dependencies

pscore

More

Packages that depend on atnkit