Re: [Wikitech-l] Provide a well-performing API to rotate an image

2015-07-17 Thread Steinsplitter Wiki
> From: jdlrob...@gmail.com > To: wikitech-l@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 can

Re: [Wikitech-l] Provide a well-performing API to rotate an image

2015-07-17 Thread Jon Robson
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 wrote: > Brion Vibber wrote: > >Allowing override of the thumb rotation would provide you real time > >rotation... >

Re: [Wikitech-l] Provide a well-performing API to rotate an image

2015-07-16 Thread Brion Vibber
; >> >> 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. >> >> -- brion >> >

Re: [Wikitech-l] Provide a well-performing API to rotate an image

2015-07-16 Thread Brion Vibber
On Thu, Jul 16, 2015 at 3:45 PM, MZMcBride 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

Re: [Wikitech-l] Provide a well-performing API to rotate an image

2015-07-16 Thread MZMcBride
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 proje

Re: [Wikitech-l] Provide a well-performing API to rotate an image

2015-07-16 Thread Steinsplitter Wiki
imedia.org > Subject: Re: [Wikitech-l] Provide a well-performing API to rotate an image > > You would still need to rewrite the bot though, even if there was a > rotation API, wouldn't you? > > On Thu, Jul 16, 2015 at 11:19 AM, YiFei wrote: > > > >> That doe

Re: [Wikitech-l] Provide a well-performing API to rotate an image

2015-07-16 Thread Brion Vibber
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. > > -- brion > > >> >> :-) >> >> >

Re: [Wikitech-l] Provide a well-performing API to rotate an image

2015-07-16 Thread Gergo Tisza
entirely sure) > > Rewrite attempts have been made, but: > * the code barely make any sense (not OOP, reduced indentation, tons of > bugs, etc.) > * lack of time to do complete rewrite > > > > >> Date: Thu, 16 Jul 2015 09:05:11 -0500 > >> From: dga...@

Re: [Wikitech-l] Provide a well-performing API to rotate an image

2015-07-16 Thread YiFei
11 -0500 >> From: dga...@wikimedia.org >> To: wikitech-l@lists.wikimedia.org >> Subject: Re: [Wikitech-l] Provide a well-performing API to rotate an image >> >> Hi Steinsplitter, >> >> On 16 July 2015 at 09:00, Steinsplitter Wiki >> wrote: >> &g

Re: [Wikitech-l] Provide a well-performing API to rotate an image

2015-07-16 Thread Steinsplitter Wiki
> That doesn't really answer Brion's question. What would prevent it from > continuing to run while it is being rewritten? lack of time. > Date: Thu, 16 Jul 2015 09:05:11 -0500 > From: dga...@wikimedia.org > To: wikitech-l@lists.wikimedia.org > Subject: Re: [Wikitech-

Re: [Wikitech-l] Provide a well-performing API to rotate an image

2015-07-16 Thread Brion Vibber
> > > Date: Thu, 16 Jul 2015 08:51:47 -0500 > > From: bvib...@wikimedia.org > > To: wikitech-l@lists.wikimedia.org > > Subject: Re: [Wikitech-l] Provide a well-performing API to rotate an > image > > > > Out of curiosity what is the problem with the bot

Re: [Wikitech-l] Provide a well-performing API to rotate an image

2015-07-16 Thread Dan Garry
Hi Steinsplitter, On 16 July 2015 at 09:00, Steinsplitter Wiki wrote: > > Out of curiosity what is the problem with the bot that prevents it from > > working? > It is very old and bad written and needs a complete rewrite. > That doesn't really answer Brion's question. What would prevent it from

Re: [Wikitech-l] Provide a well-performing API to rotate an image

2015-07-16 Thread Steinsplitter Wiki
ys perfect and the file itself is not rotatet at all. :-) > Date: Thu, 16 Jul 2015 08:51:47 -0500 > From: bvib...@wikimedia.org > To: wikitech-l@lists.wikimedia.org > Subject: Re: [Wikitech-l] Provide a well-performing API to rotate an image > > Out of curiosity what is the p

Re: [Wikitech-l] Provide a well-performing API to rotate an image

2015-07-16 Thread Pine W
Perhaps this should go to Community Tech or Multimedia. Copying to the Multimedia list. Pine On Jul 16, 2015 6:27 AM, "Steinsplitter Wiki" wrote: > Hi, > > I am not sure if this is the correct mailinglist to write. > > Every week on commons a bot is rotating hunderts of files, however this > bot

Re: [Wikitech-l] Provide a well-performing API to rotate an image

2015-07-16 Thread Brion Vibber
Out of curiosity what is the problem with the bot that prevents it from working? It's entirely possible that fixing the bot is easier than hacking an internal rotate and reupload feature that runs on the image scalers. Or... Just making it possible to mark images as needing to be rotated correctl

Re: [Wikitech-l] Provide a well-performing API to rotate an image

2015-07-16 Thread Brad Jorsch (Anomie)
On Thu, Jul 16, 2015 at 8:26 AM, Steinsplitter Wiki < steinsplitter-w...@live.com> wrote: > I am wonder if it is possible to enable and code review this feature asap. > For clarification, it's not just a matter of "enable and code review". The existing code, if enabled, will run the rotation on t

[Wikitech-l] Provide a well-performing API to rotate an image

2015-07-16 Thread Steinsplitter Wiki
Hi, I am not sure if this is the correct mailinglist to write. Every week on commons a bot is rotating hunderts of files, however this bot will stop working soon. In the last years tens of thousands files has been rotated. Rotating files is a vital feature on commons and therefore indispensabl