convert and trim problem
Posted: 2013-04-01T03:08:22-07:00
I want to remove all white pixel border (!) lines inside a picture around the actual content.
For that I enter the following command:
convert.exe -trim D:\tmp\2.jpg and got the following error (under 64bit Win7):
convert.exe: no images defined `D:\tmp\2.jpg' @ error/convert.c/ConvertImageCommand/3085.
Hmm, the picture exists!. Whats wrong?
Other related question: Assume I dont want not only to remove/trim pure white color lines but also almost white lines.
Lets say I want to remove lines whose "whiteness" is maximum 3% different from "pure" white.
How can I achieve this?
Ben
For that I enter the following command:
convert.exe -trim D:\tmp\2.jpg and got the following error (under 64bit Win7):
convert.exe: no images defined `D:\tmp\2.jpg' @ error/convert.c/ConvertImageCommand/3085.
Hmm, the picture exists!. Whats wrong?
Other related question: Assume I dont want not only to remove/trim pure white color lines but also almost white lines.
Lets say I want to remove lines whose "whiteness" is maximum 3% different from "pure" white.
How can I achieve this?
Ben