This project has moved. For the latest updates, please go here.

Problems with trimming png's

Apr 11, 2016 at 6:29 AM
In my program I get jpgs from a file location, converts them to png, removes the background and makes it transparent. After its being made transparent it gets trimmed so it is just actual image with no border that is going to be used further on.

The command line options I run is as follows,
$"\"{filePath.Replace(@"\", "/")}\" " + $"-fuzz {fuzzingValue}% " +
                                  $"-transparent {backgroundColor} " + "-trim +repage " +
                                  $"\"{destinationPath.Replace(@"\", "/")}\"";
fuzzing value is 20, backgroundColor and destinatioPath is depending on the picture, in some images it trimming only removes the top transparent part but leaves out the rest as untrimmed, any ideas how to fix this?
Apr 13, 2016 at 9:02 PM
Can you provide an example with some images so I can better understand what you mean?