I'm newbie to imagemagic. I've found it a suitable tool to meet my requirements.
I've 300 number of scanned jpg images of a book (this is a sample:
) and need a script to make following operations on it to make png image files(similar to this:
sorry but I can't attach image to my post):1) rotate 270 degrees clockwise
2) split to two images
3) trim the images removing the total thick border
4) remove noises
5) convert to a 2-color image of the characters as foreground and the other as background (The image is not said to be of 2 colors, it can be 16-color but only using 2 of them)
6) remove the background (make it transparent)
7) resize the images (maintaining aspect ratio) to make their width be 800 (it's initially larger and needs to be made smaller but keeping quality remain if possible)
8 ) crop or add height to images to make them all equal in height
9) save as a 16-color or 2-color png format
and help would be appreciated. I really need a quick response