-
Notifications
You must be signed in to change notification settings - Fork 4
Description
Hi quietvoid, i want to inform you that in the past i had quite some problem using BDSup2Sub resulting in cropped output, wrong colors/shade and missing subpic, that is one of the reason why i developed SupMover.
I was also thinking about if it could be a good idea to change the luminance/color value at a palette level instead at the image level so that the functionality of your tool would be a less lossy transformation, from what i can read from your code (i'm not experienced in rust) it seems you lower the color of all the RGB channel by the specified percentage, or with a fixed color, and save it, am i right?
Just for information PGS/Sup subtitle use a YCbCrA palette (from SubtitleEdit's code it seems that the matrix is determined from the video) in tv level (16-235/240) so do you think we could achieve the same effect multiplying the value from the Y channel in every paletted color with a percentage and then clamping to 16-235 range? Do you think we should take into account the Alpha value?