Apologies if I'm missing something but is there
any reason why we can't do
image rotation on the client using the canvas JavaScript api?
Client side rotation takes ages, especially with big files.
Agreed! Most of that probably should be
non-destructive editing that keeps
the original and applies crop/rotate/filters along with thumbnailing as
necessary.
I suggest that we keep status quo. It has worked perfect for years. Just fixing thumbs
does not fix the file itself and we want to have the file itself fixed.
> Date: Fri, 17 Jul 2015 19:30:44 +0800
> From: jdlrobson(a)gmail.com
> To: wikitech-l(a)lists.wikimedia.org
> Subject: Re: [Wikitech-l] Provide a well-performing API to rotate an image
>
Apologies if I'm missing something but is there
any reason why we can't do
image rotation on the client using the canvas JavaScript api?
>
> On Thu, Jul 16, 2015 at 3:45 PM, MZMcBride <z(a)mzmcbride.com> wrote:
>
> > Brion Vibber wrote:
> > >Allowing override of the thumb rotation would provide you real time
> > >rotation...
> > >
> > >I'm not sure about the need to rotate the original file; ideally
original
> > >files should be left as-is and kept archival.
> >
> > In my opinion, we need to solve image rotation as part of a larger project
> > to support in-browser rasterized image manipulation. A bot shouldn't be
> > necessary here. We should have the ability, in a Web browser, to crop,
> > rotate, and make other basic manipulations to rasterized images. The fact
> > that we have a media repository using software called MediaWiki that
> > doesn't include an in-browser basic photo editor is pretty silly.
> >
>
> Agreed! Most of that probably should be non-destructive editing that keeps
> the original and applies crop/rotate/filters along with thumbnailing as
> necessary. That'll take some more infrastructure work though.
>
> Of course if you're going to draw on a picture that'll require uploading a
> new version.
>
> -- brion
> _______________________________________________
> Wikitech-l mailing list
> Wikitech-l(a)lists.wikimedia.org
>
https://lists.wikimedia.org/mailman/listinfo/wikitech-l
> _______________________________________________
> Wikitech-l mailing list
> Wikitech-l(a)lists.wikimedia.org
>
https://lists.wikimedia.org/mailman/listinfo/wikitech-l