Opened 10 years ago
add preprocess hook to process() of media_types.image processors
|Reported by:||Kevin Brubeck Unhammer||Owned by:|
My branch image_preprocessing_hook at https://gitorious.org/mediagoblin-stock/mediagoblin/source/19d1f068b834e5f17106125b0199d3069b61afd3: has a hook (named imageprocessor_preprocess for now) that runs after common_setup in process() – useful for doing stuff to uploaded images before they are stored and resized.
It's currently used in this plugin: https://gitorious.org/mediagoblin-stock/mediagoblin-hidden_original
It'd be nice to have this in master :)