Make the --prep-manual parameter work again #877
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
--prep-manual
失灵了,旧版的这个参数可以在源文件夹输出txt文件,可以在example-translated
文件夹中输出example-orig.png
文件和对应去除文字的exampel.png
文件,但在新版中源文件夹中没有输出txt文件,在example-translated
文件夹中输出的exampel.png
文件也是含文字的译后文件。修正后仅会在目标文件夹中输出去除文字的图片,不含源文件
但是在新版中有替代原来输出文本文件的
--save-text
参数,就没在意,但是刚发现它也是失灵的。先提一下。ENG:
"The
--prep-manual
flag is no longer working as expected. In the old version, this parameter would output a TXT file in the source folder. In theexample-translated
folder, it would output bothexample-orig.png
(the original image) andexample.png
, which was the image with the text removed.However, in the new version, the TXT file is not being output in the source folder. Furthermore, the
example.png
file generated in theexample-translated
folder is the translated image with text, not the text-removed image as before.After the this modifications, it only outputs the text-removed image in the target folder. It no longer includes the original source file in the output folder.
However, in the new version there's the
--save-text
parameter which is supposed to replace the original text file output, so I hadn't paid much attention to it. But I just discovered that it's also malfunctioning. Just wanted to quickly bring this up."