Commons:Bots/Requests/Rybecbot
Discussion: revise
← Older revision
Revision as of 05:18, 25 March 2013
Line 43:
Line 43:
* {{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 the images, subtracting 138 from the height, then scripting ''jpegtran'' to crop to that size. I agree that the metadata is important. I'm going to look into the ''exiftran'' program. "It can do lossless rotations like jpegtran, but unlike jpegtran it cares about the EXIF data," says the man page. --[[User:Rybec|Rybec]] ([[User talk:Rybec|talk]]) 04:39, 25 March 2013 (UTC)
+
*:I was just using the ''identify'' command from Imagemagick to get the pixel size of the images, subtracting 138 from the height, then scripting ''jpegtran'' to crop to that size. I agree that the metadata is important. I'm going to look into the ''exiftran'' program. "It can do lossless rotations like jpegtran, but unlike jpegtran it cares about the EXIF data," says the man page. I think the problem is that I didn't use the "copy all" option to jpegtran. --[[User:Rybec|Rybec]] ([[User talk:Rybec|talk]]) 04:39, 25 March 2013 (UTC)