Skip to content

Commit

Permalink
Merge pull request #603 from ken717w/main
Browse files Browse the repository at this point in the history
Support maintainAspect and backgroundColor in copyResize()
  • Loading branch information
brendan-duncan authored Jan 10, 2024
2 parents 9e025f1 + d63f045 commit bef921e
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion lib/src/command/command.dart
Original file line number Diff line number Diff line change
Expand Up @@ -1119,9 +1119,15 @@ class Command {
void copyResize(
{int? width,
int? height,
bool? maintainAspect,
Color? backgroundColor,
Interpolation interpolation = Interpolation.nearest}) {
subCommand = CopyResizeCmd(subCommand,
width: width, height: height, interpolation: interpolation);
width: width,
height: height,
maintainAspect: maintainAspect,
backgroundColor: backgroundColor,
interpolation: interpolation);
}

void copyResizeCropSquare(
Expand Down

0 comments on commit bef921e

Please sign in to comment.