This project is read-only.

Request to separate file format from destination.

Aug 15, 2011 at 1:16 AM


Love cropper. This request is to separate the selected file format from the selected "destination." That is, for plug-ins such as SendToEmail, SendToWherever, let the plug-in use a selected format, independent of selecting that plug-in. e.g., SendToEmail has a separate selection for the file format, that doesn't contain .gif (because that's a separate plug-in). (Even without the .gif plug-in issue, the built-in formats don't sync with the plug-in's options.) It's as if these plug-ins are having to take over and repeat functionality elsewhere in cropper.

Perhaps this could be done with explicit "knowledge" of a format vs a destination. Alternatively, maybe this is describing a more generic chained plug-in approach. Run the .jpg output (or .gif plug-in), then run the SendTo... plug-in. 

Related to: and



Oct 16, 2011 at 7:04 PM


Your observation is spot on, and I think yours sounds like a reasonable request.  I noticed the same thing of course, as I reproduced the format selection in various plugins I was maintaining.  I also noticed a nice opportunity for the kind of chaining you described, with the send-to-paint plugin.  It currently implements its own chaining, to allow the image to get sent to a remote service, after it is finished being edited in Paint. 

So I think it's a good idea.

But, I can't do anything about it.  The change you are describing would first require a change to Cropper itself.  I am not a contributor for the cropper project; I am a contributor to cropper plugins.   I'm more than willing to commit to updating the various plugins here to work with a new plugin model that supports chaining and format independence.  I don't know how willing Terry Hughes would be to do the work required in Cropper.