Open d4fe opened 4 years ago
It's already implemented. In step 6-Output
choose Mode -> Mixed
and tick Splitting -> Split output
.
It's true, STA generates separate files only for the images that use the Mixed
mode. And I think this is the right behavior. To get only black and white images you can copy the files in the foreground
folder to the out
folder, overwriting the mixed images. That way, all the images in out
are bitonal and the background
folder contains the images. (foreground
folder is not needed anymore.)
I seem to remember that DJVU Imager has some problems with files that do not have a simple number name. This only happens when you split pages in two (in step 2
). There is no simple workaround for this, you either have to manually change all names from XXXX_1L
to YYYY
to make them correspond or manually adjust the page # in DJVU Imager.
I agree with you that STA should have an option to change the output file name format to something more regular. I suggest adding a 4-digit number suffix to the current names. From OriginalName_1L
to XXXX_OriginalName_1L
(or OriginalName_2R
to XXXX_OriginalName_2R
). It would keep the best from both worlds.
There is no simple workaround for this
The separate output function itself involves the continued use of the DJVU Imager. Therefore, it seems to me that STA should produce files convenient for this.
I agree with you. I'm hoping 4lex4 or someone else capable of making it happen also agrees :).
PS: I should add that the separate image method can also be applied to pdf files (via QPDF or Adobe Acrobat, among others).
That is, can I convert separate files not to DJVU, but to Adobe?
It can be done, yes. You can use the overlay function of QPDF to "paste" the images over the text-only PDF. But you need to craft a command line script that calls QPDF on every page. Otherwise it would be manual work, just like before.
You can PM me if you need help with this.
Where are the private messages? I didn’t find something...
@d4fe say:
That is, can I convert separate files not to DJVU, but to Adobe?
See also:
Thanks! I will get acquainted.
Please export the image files for separate processing of black-and-white and color images (for subsequent pasting using the DjVu Imager program). This option is available in Scan Tailor Featured. (Automatic translation).