Commons:Bots/Requests/Rybecbot
change markup in my comment (doesn't change the meaning)
← Older revision
Revision as of 13:03, 25 March 2013
Line 44:
Line 44:
* {{question}}: Does your bot automatically detect the watermarks or are you manually instructing what to crop? -- ''[[User:Rillke|Rillke]]''[[User talk:Rillke|(q?)]] 10:38, 23 March 2013 (UTC)
* {{question}}: Does your bot automatically detect the watermarks or are you manually instructing what to crop? -- ''[[User:Rillke|Rillke]]''[[User talk:Rillke|(q?)]] 10:38, 23 March 2013 (UTC)
*:I was just using the ''identify'' command from Imagemagick to get the pixel size of downloaded images, subtracting 138 from the height, scripting ''jpegtran'' to crop to that size, and the only function of the bot is the re-uploading. I agree that the metadata is important. The problem was that I didn't use the "copy all" option to jpegtran. I've manually uploaded to [[:File:1210_Turnhout_029.JPG]] one example of a file cropped with the "copy all" option. Its [http://regex.info/exif.cgi?imgurl=https%3A%2F%2Fupload.wikimedia.org%2Fwikipedia%2Fcommons%2F9%2F98%2F1210_Turnhout_029.JPG EXIF data] is preserved. I also learned how to do an edit summary with the script: [//commons.wikimedia.org/w/index.php?title=File:Test-1364199597.png&diff=prev&oldid=93238398]. I've started another test run, with the metadata and the edit summaries. [[User:Rybec|Rybec]] ([[User talk:Rybec|talk]]) 11:51, 25 March 2013 (UTC)
*:I was just using the ''identify'' command from Imagemagick to get the pixel size of downloaded images, subtracting 138 from the height, scripting ''jpegtran'' to crop to that size, and the only function of the bot is the re-uploading. I agree that the metadata is important. The problem was that I didn't use the "copy all" option to jpegtran. I've manually uploaded to [[:File:1210_Turnhout_029.JPG]] one example of a file cropped with the "copy all" option. Its [http://regex.info/exif.cgi?imgurl=https%3A%2F%2Fupload.wikimedia.org%2Fwikipedia%2Fcommons%2F9%2F98%2F1210_Turnhout_029.JPG EXIF data] is preserved. I also learned how to do an edit summary with the script: [//commons.wikimedia.org/w/index.php?title=File:Test-1364199597.png&diff=prev&oldid=93238398]. I've started another test run, with the metadata and the edit summaries. [[User:Rybec|Rybec]] ([[User talk:Rybec|talk]]) 11:51, 25 March 2013 (UTC)
−
*Someone pointed out the need to remove
+
*Someone pointed out the need to remove
::Not remove "watermark", but change it to "watermark removed". ("watermark removed" is appropriate for these uploads) – [[User:Jbarta|JBarta]] ([[User talk:Jbarta#top|talk]]) 13:01, 25 March 2013 (UTC)
::Not remove "watermark", but change it to "watermark removed". ("watermark removed" is appropriate for these uploads) – [[User:Jbarta|JBarta]] ([[User talk:Jbarta#top|talk]]) 13:01, 25 March 2013 (UTC)