You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to use recode_pdf from imagestack together with the option to downsample the foreground ("--fg-downsample 4").
The resulting pdf was unreadable.
I found out that the foreground (meaning the color layer) was resampled as expected.
When the pdf is written, the resolution of the mask layer (which should stay in the original size) is taken from the foreground and therefor wrong.
As a solution i changed mrc.py to return the size of the mask and used the values from recode.py
This works fine when encoding images to pdf.
I did not test ist with other modes.
Attached you find patches for mrc.py and recode.py. patches.tar.gz
The text was updated successfully, but these errors were encountered:
I tried to use recode_pdf from imagestack together with the option to downsample the foreground ("--fg-downsample 4").
The resulting pdf was unreadable.
I found out that the foreground (meaning the color layer) was resampled as expected.
When the pdf is written, the resolution of the mask layer (which should stay in the original size) is taken from the foreground and therefor wrong.
As a solution i changed mrc.py to return the size of the mask and used the values from recode.py
This works fine when encoding images to pdf.
I did not test ist with other modes.
Attached you find patches for mrc.py and recode.py.
patches.tar.gz
The text was updated successfully, but these errors were encountered: