Orchard 1.7 Media Processing feature team

Topics: Announcements
Coordinator
Nov 6, 2012 at 8:58 PM

This thread is to discuss the new media processing feature for Orchard 1.7.

This feature introduces filters that can run on media, to generate thumbnails or add watermarks for example. The filters enter a pipeline that enables the combination of multiple filters. Resulting files can be cached on disk.

Developer
Nov 7, 2012 at 11:37 AM

It would be probably good if the author(s) of the existing media processing module would shortly introduce it here.

Nov 7, 2012 at 10:21 PM

Brandon mentioned http://orchard.codeplex.com/discussions/401896 that the ability to index media for searching could fit into this feature.

Coordinator
Nov 8, 2012 at 10:56 PM

The current implementation by John Murdock is available here:  https://hg.codeplex.com/forks/jrmurdoch/imageprocessing

This is the almost final design as it has been extensively discussed offline, and it's working fine right now. Definitely something we want in core. I might do a demo at the weekly meeting so we can discuss further what needs to be done next.

Sure thing is about listing all the filters we want to provide by default, and what APIs should be used for that, taking licence constraints into consideration.

Nov 14, 2012 at 9:13 PM

Hi All,

I'm John Murdoch, i with the help of Sebastien created the Media Processing Module, mainly because I needed it for a project and figured it would be best to put the time into creating a module fro the community. My work on it has been a bit sporadic but if there is anything you wont to assign to me of for me to help out with i'm sure i can find time to fit it in.

From memory it needs the following:

  • Tokens
  • More filters
  • Crop filter need options added like "Crop position" Left, Top etc...
Coordinator
Nov 15, 2012 at 5:51 PM

Maybe we could start discussing about what filters should be available out of the box, and which library to use. I know Bertrand has some experience on this.

Coordinator
Nov 16, 2012 at 8:50 AM

Yes, there are quite a few posts on my blog about image resizing in particular, performance, etc. http://weblogs.asp.net/bleroy/archive/tags/Windows+Imaging+Components/default.aspx ImageResizer.Net is a good synthesis of what works best. It already comes configured with optimal parameters and should be both fast and good quality.

Filters out of the box should absolutely have resize of course. Crop, so you can constrain thumbnails to be squares for example. The rest is less important and could come as modules I think, such as watermark.