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 have tested this with the newly added grayscale previewing (see b303e91 and 5218ab1) and it works very well.
This will be a massive undertaking that requires the rewrite of hundreds of functions... but the end result should be worth it as it will allow any image filter to be applied anywhere in the program - not just to the standard user interface forms. It also reduces total code size and maintenance by not requiring duplicate functions (one for previewing, one for running the actual effect).
This is also a prerequisite for an interactive macro editor capable of previewing any effect.
The text was updated successfully, but these errors were encountered:
As part of merging all core and preview filter/effect functions (#16)
I'll need to rewrite every filter and effect in the program. (JOY!
/sarcasm) While doing that, I'm also going to be dropping in a
framework that will ultimately allow functions to operate on just a
subset of the image. Each filter will respect globally set (x, y) and
(width, height) values as determined by the GetImageData call. At
first, those values will always be (0, 0) and (image width, image
height), but in the future, if a selection has been made, GetImageData
can modify the variables to the size of the selection and all
filters/effects will respect it.
The new system has been successfully checked against two protoypes via 1159551 and a0321a5 and 86010e4. Rewriting all filters and effects against the DIB class will solve this at a program-wide level, but at least the current system is known to be viable.
I have tested this with the newly added grayscale previewing (see b303e91 and 5218ab1) and it works very well.
This will be a massive undertaking that requires the rewrite of hundreds of functions... but the end result should be worth it as it will allow any image filter to be applied anywhere in the program - not just to the standard user interface forms. It also reduces total code size and maintenance by not requiring duplicate functions (one for previewing, one for running the actual effect).
This is also a prerequisite for an interactive macro editor capable of previewing any effect.
The text was updated successfully, but these errors were encountered: