Replies: 1 comment 1 reply
-
Hi, I currently don't have enough time to add this feature, but I have already prepared everything for it. As you can see in the filter editor, you can also add custom Filters, where you can adjust settings such as Saturation, Brightness, or Contrast, as shown below: configs: ProImageEditorConfigs(
filterEditorConfigs: FilterEditorConfigs(filterList: [
FilterModel(
name: 'Saturation',
filters: [
ColorFilterAddons.saturation(0.5),
],
),
FilterModel(
name: 'Brightness',
filters: [
ColorFilterAddons.brightness(0.5),
],
),
FilterModel(
name: 'Contrast',
filters: [
ColorFilterAddons.contrast(0.5),
],
),
FilterModel(
name: 'Hue',
filters: [
ColorFilterAddons.hue(0.5),
],
),
/// Default filters
PresetFilters.none,
PresetFilters.addictiveBlue,
PresetFilters.addictiveRed,
PresetFilters.aden,
PresetFilters.amaro,
PresetFilters.ashby,
PresetFilters.brannan,
PresetFilters.brooklyn,
PresetFilters.charmes,
PresetFilters.clarendon,
PresetFilters.crema,
PresetFilters.dogpatch,
PresetFilters.earlybird,
PresetFilters.f1977,
PresetFilters.gingham,
PresetFilters.ginza,
PresetFilters.hefe,
PresetFilters.helena,
PresetFilters.hudson,
PresetFilters.inkwell,
PresetFilters.juno,
PresetFilters.kelvin,
PresetFilters.lark,
PresetFilters.loFi,
PresetFilters.ludwig,
PresetFilters.maven,
PresetFilters.mayfair,
PresetFilters.moon,
PresetFilters.nashville,
PresetFilters.perpetua,
PresetFilters.reyes,
PresetFilters.rise,
PresetFilters.sierra,
PresetFilters.skyline,
PresetFilters.slumber,
PresetFilters.stinson,
PresetFilters.sutro,
PresetFilters.toaster,
PresetFilters.valencia,
PresetFilters.vesper,
PresetFilters.walden,
PresetFilters.willow,
PresetFilters.xProII,
]),
) This approach will work, but like in the filter editor, it only allows users to apply one configuration at a time. I recommend copying the filter editor and adjusting the logic slightly so that users can apply all configurations simultaneously. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
is there any way i can achieve exposure, contrast and saturation features in the library?
@hm21
if not can you please add this features.
Beta Was this translation helpful? Give feedback.
All reactions