4lex4 / scantailor-advanced

ScanTailor Advanced is the version that merges the features of the ScanTailor Featured and ScanTailor Enhanced versions, brings new ones and fixes.
GNU General Public License v3.0
1.15k stars 128 forks source link

[Feature request] Add option to "Centralized the contents" within image #126

Closed Nokia808 closed 4 years ago

Nokia808 commented 4 years ago

Hi. I would like, at 1st, to thank you too much for this great work ...

I would like to suggest to add new feature to "centralized the contents" within image. Certain images on scan a book, will appear the contents within the image either displayed to right (left margin > right margin) or displayed to left (right margin > left). In this case - when we have different displaying from image to other in degree & direction - it will be very useful if we have an option to make contents centralized at middle of image .....

zvezdochiot commented 4 years ago

:question: What?

:information_source: Show:

Piolie commented 4 years ago

Maybe what you need is one of the Alignment options?

Align

Nokia808 commented 4 years ago

@Piolie Yes ! This is exactly what I was mean !

I will closed this issue. But - & to avoid open other issue - can you kindly inform me about the following: what are the allowed input files formats that can we processed by this great program? I tested it on .jpeg & worked & certainly working on .tiff Can you, kindly, give list of all supported input file formats, please?

zvezdochiot commented 4 years ago

:information_source: Depends:

https://github.com/4lex4/scantailor-advanced/blob/f6c8e5b2a2d416be224df4db600f852356ccebc3/CMakeLists.txt#L105-L108

Nokia808 commented 4 years ago

@zvezdochiot Dear I'm not programmer, but I understood that the supported formats are: 1) .jpeg, 2) .png, 3) .tiff

But I did not understood is "zlib", to which format pointing ? Does it include .bmp & .pcx ?

Piolie commented 4 years ago

You are welcome. ZLIB is a compression library, not an image format. Basically, what you said is correct: jpeg, png and tiff formats are supported.