Skip to content

Can not apply manual content area to the following pages #8

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
ermylistru opened this issue Jan 12, 2018 · 20 comments
Closed

Can not apply manual content area to the following pages #8

ermylistru opened this issue Jan 12, 2018 · 20 comments
Assignees

Comments

@ermylistru
Copy link

Encounted that I can not apply manual content area to the following pages, if they already have manual content area.
If I want to apply a different content area from some page to all following pages, only 4-5 pages following the source page are changed at first, and then - only one page is changed.
The program is very nice as it works much faster due to multicore usage, but this bug made me switch back to ScanTailor Featured, which is working OK.
Its a pitty. Could you please look into it?

@4lex4 4lex4 added the bug label Jan 13, 2018
@4lex4
Copy link
Owner

4lex4 commented Jan 13, 2018

Bring me the project file and some examples so I could replay the bug.

@ermylistru
Copy link
Author

ermylistru commented Jan 13, 2018 via email

@4lex4
Copy link
Owner

4lex4 commented Jan 13, 2018

No project file or examples needed, I seem to have understood your problem.

You've just forgot to check the "Apply content box" checkbox in the dialog.

This is a feature: when "Apply content box" checkbox is checked, STA applies content box to all the pages in the scope, when not, the pages that already have the content box won't be affected, only their mode will be switched.

@ermylistru
Copy link
Author

ermylistru commented Jan 14, 2018 via email

@4lex4
Copy link
Owner

4lex4 commented Jan 14, 2018

ermylistru, please read my previous message, you've missed that. I've highlighted what you should do with bold, you needn't to use Featured version anymore.

More info in Russian:
https://www.forum.ru-board.com/topic.cgi?forum=5&bm=1&topic=32945&start=2126&limit=5#2

@ermylistru
Copy link
Author

ermylistru commented Jan 14, 2018 via email

@4lex4 4lex4 self-assigned this Jan 14, 2018
@4lex4 4lex4 added bug and removed help labels Jan 14, 2018
@4lex4
Copy link
Owner

4lex4 commented Jan 14, 2018

Sorry, it was my miss. :)
I've remember that issue, that I've found myself and fixed a month ago.

The issue is that if we have a large page with the large content box which is followed by a small page, the content box will be trimmed even for the other pages following that small page.

The fix has been available in version since 1.07.

Ty for useful report, feel free for reporting any issues.

@ermylistru
Copy link
Author

ermylistru commented Jan 14, 2018 via email

@4lex4
Copy link
Owner

4lex4 commented Jan 14, 2018

Да баг это, все, я вспомнил. Если за большой страницей с большой областью контента следует маленькая страница, то при применении область контента обрежется для всех страниц, следующих за этой маленькой страницей, что, естественно, ошибка.
Обрезаться область контента должна была только для маленьких страниц, во всех версиях СТ на таких страницах она просто вылазила за пределы, что тоже баг.

Я эту проблему сам нашел месяц назад и профиксил тогда же.
Галку я сделаю включенной по умолчанию.

Спасибо за репорт, если еще будет чего, пишите сюда или на ру-борде. :)

@ermylistru
Copy link
Author

ermylistru commented Jan 14, 2018 via email

@4lex4
Copy link
Owner

4lex4 commented Jan 14, 2018

Нашел я фикс, оказывается, это было 27 ноября, то есть в версии 1.08 этого бага уже нет.
В какой версии вы столкнулись с этим багом?

@ermylistru
Copy link
Author

ermylistru commented Jan 14, 2018 via email

@4lex4 4lex4 removed the solved label Jan 14, 2018
@4lex4
Copy link
Owner

4lex4 commented Jan 14, 2018

Ок, тогда жду видео.

@4lex4 4lex4 added the feedback label Jan 14, 2018
@4lex4 4lex4 assigned ermylistru and unassigned 4lex4 Jan 14, 2018
@ermylistru
Copy link
Author

ermylistru commented Jan 14, 2018 via email

@4lex4
Copy link
Owner

4lex4 commented Jan 14, 2018

Отключите обе галочки сглаживания и используйте адаптивные алгоритмы бинаризации. В версии 1.08 переключение на адаптивные алгоритмы сломано, т. е. при переключении будет юзаться неадаптивный оцу, в 1.05 работает, тестируйте выход на ней.

Это из-за сглаживания, в СК оно выключено по умолчанию, в других версиях СТ включено и не отключаемо, в СТА же всем можно управлять. Я, например, на хороших сканах юзаю собственные экшены фотошопа (есть на руборде) для сглаживания букв, выключая его в СТ, на плохих сглаживание в СТ.

@ermylistru
Copy link
Author

ermylistru commented Jan 14, 2018 via email

@ermylistru
Copy link
Author

ermylistru commented Jan 15, 2018 via email

@4lex4
Copy link
Owner

4lex4 commented Jan 15, 2018

ermylistru, скиньте проекты с картинками на

@ermylistru
Copy link
Author

ermylistru commented Jan 15, 2018 via email

@4lex4
Copy link
Owner

4lex4 commented Jan 15, 2018

ermylistru, а куда вы скинули то? На гитхаб нельзя скинуть, если вы приаттачили проект к письму - то он просто пропал, ибо гитхаб показывает только текст, остальное игнорирует. У меня нигде нет ни вашего проекта, ни картинок.

Мне нужны хотя бы картинки, чтоб самому попытаться повторить.

@4lex4 4lex4 removed the feedback label Jan 15, 2018
@4lex4 4lex4 assigned 4lex4 and unassigned ermylistru Jan 15, 2018
4lex4 referenced this issue Jan 15, 2018
Selection content stage changes:
1. A page box implementation reworked. Now it's interactive and can be adjusted by the same way as a content box is done.
2. The page rectangle does not require refreshing page and won't be reset on the content area changes.
3. The page rectangle is now drawn in the thumbnails.
4. Implemented the new feature of applying the page box set manually to the other pages. For pages of a different size ST automatically corrects page box place. The same change has been made to applying the content box feature.

Page layout stage changes:
1. Auto margins option has been moved out of alignment settings and does no more force to use only the original layout.
2. Auto margins feature now considers page box changes on the 4th stage.
3. Corresponding bug fixes.

Owing to the changes above, there appeared a new way to set margins for books and documents, pages of which have similar formatting. At content selection stage we just set page box and content box to a page, applying those content and page boxes to the pages with similar formatting, use auto margins for those pages at page layout stage instead of adjusting the margins relative to the content box, and then go to the output.
@4lex4 4lex4 added the solved label Jan 15, 2018
@4lex4 4lex4 closed this as completed Jan 15, 2018
@4lex4 4lex4 added this to the 1.0.x milestone Jan 24, 2018
christofchen pushed a commit to christofchen/scantailor-advanced that referenced this issue Jul 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants