Commons:Bots/Requests/AskeBot 2

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

AskeBot (talk · contribs)

Operator: Askeuhd (talk · contributions · Statistics · Recent activity · block log · User rights log · uploads · Global account information)

Bot's tasks for which permission is being sought: Supplemental task request to Commons:Bots/Requests/AskeBot, for cropping images such as this [1] or this [2]

Automatic or manually assisted: Manually assisted

Edit type (e.g. Continuous, daily, one time run): Intermittent batch runs, based on prepared data. Stops on errors.

Maximum edit rate (e.g. edits per minute): Increase to 1 edit per second

Bot flag requested: (Y/N): N/A bot flag already active

Programming language(s): Go

Discussion

Many of the older images from EOL have a white bar indicating the NASA id for this particular picture. This is not very useful for the users of Commons and their sister projects. I would like to crop out this white bar from existing photos.

The photos are easily identifiable as their dimensions are off ratio, and their metadata additionally indicates being edited in Photoshop. I search for these exact dimensions such as 3032x2064 and 4288x2929 within hand selected categories where such images are known to be located, such as Category:ISS Expedition 15 Crew Earth Observations (dump) or Category:ISS Expedition 18 Crew Earth Observations.

I crop the images losslessly using jpegtran and retain original metadata using exiftool (inspired by cropbot). I have completed a short test run: [3] [4] [5] [6] [7]

--Askeuhd (talk) 08:45, 8 August 2022 (UTC)[reply]

Will be good idea to write in upload summary what exactly was cropped (i.e, photo ID). --EugeneZelenko (talk) 14:12, 8 August 2022 (UTC)[reply]
@EugeneZelenko: excellent suggestion, thank you. I have done this test run with your suggestion [8] - is this what you had in mind? --Askeuhd (talk) 15:05, 8 August 2022 (UTC)[reply]
Yes. Looks OK for me. --EugeneZelenko (talk) 15:06, 8 August 2022 (UTC)[reply]
@EugeneZelenko: Thank you. Should we wait a couple of days for community input before commencing with the task? --Askeuhd (talk) 16:03, 8 August 2022 (UTC)[reply]
Sure, it's reasonable to wait for other people opinions. --EugeneZelenko (talk) 22:41, 8 August 2022 (UTC)[reply]
I am going to commence with the operation in earnest. Should anyone have any comments, questions or objects, feel free to contact me at my talk page. Askeuhd (talk) 17:55, 14 August 2022 (UTC)[reply]

If there are no objections, I think task should be approved. --EugeneZelenko (talk) 14:48, 15 August 2022 (UTC)[reply]