lut_transformer 1.2.0
lut_transformer: ^1.2.0 copied to clipboard
A Flutter plugin to apply 3D LUT (.cube) filters to videos on Android. Transforms video colors based on a provided LUT file and allows adjusting LUT intensity.
1.2.0 #
- Added iOS support.
- The plugin now supports applying 3D LUT (.cube) filters to videos on the iOS platform.
- Implemented native iOS code (
LutTransformerPlugin.swift,VideoTransformer.swift) to handle video transformation. - Updated
lut_transformer.podspecfor iOS configuration.
1.1.0 #
- Added
lutIntensityparameter totransformVideomethod.- This allows adjusting the strength of the LUT effect from 0.0 (no effect) to 1.0 (full effect).
- If
lutAssetis provided andlutIntensityis null, it defaults to 1.0.
- Updated Android native code (
CubeParser.kt,VideoTransformer.kt,LutTransformerPlugin.kt) to support LUT intensity. - Updated Dart code (
lut_transformer.dart) to include thelutIntensityparameter. - Updated
README.mdto document the newlutIntensityfeature.
1.0.4 #
- Modified
transformVideomethod:- Added
cropSquareSizeparameter to specify the size of the square to crop the video to.
- Added
1.0.3 #
- Improved video cropping:
- The 1:1 aspect ratio crop now centers based on the video's shorter dimension, ensuring a more visually appealing centered square crop.
1.0.2 #
- Modified
transformVideomethod:- Added
flipHorizontallyparameter to flip the video horizontally. Defaults tofalse.
- Added
1.0.1 #
- Modified
transformVideomethod:- The
lutAssetparameter is now nullable. - If
lutAssetis null, the video will only be cropped to a square.
- The
- Updated tests to cover the case where
lutAssetis null.
1.0.0 #
- Initial release of the
lut_transformerplugin. - Supports applying 3D LUT (.cube) filters to videos on the Android platform.
- Features include:
- Video transformation with LUT application.
- 1:1 aspect ratio cropping during transformation.
- Progress reporting for the transformation process.
- Includes an example application demonstrating plugin usage.
- Added integration tests for
getPlatformVersionandtransformVideo. - Added unit tests for Android native code (CubeParser, LutTransformerPlugin).