Template talk:BadJPEG

From Wikipedia, the free encyclopedia

Contents

[edit] Corresponding category

There is a category that images tagged with this message are added to, Category:Images with inappropriate JPEG compression. --ChrisRuvolo (t) 16:14, 19 December 2005 (UTC)

[edit] Deletion vote

There was a December 2005 vote for the deletion of this template on WP:TFD. The result was no deletion. The debate is archived here: Wikipedia:Templates for deletion/Log/Not deleted/December 2005#Template:BadJPEG. --ChrisRuvolo (t) 16:12, 19 December 2005 (UTC)

[edit] Need more image repair tags

BadJPEG is a great step in the right direction, but I think we need more tags to cover additional cases, such as:

  • PNGs or GIFs that should be JPEGs (to reduce filesize for images where JPEG is suitable)
  • PNGs or GIFs that were converted straight from JPEGs (these are particularly bad, as they're as ugly as JPEGs and tend to be larger too)
  • PNGs or GIFs that should be SVGs (to make them easier for future contributors to edit, to enhance the ability to scale, and to display at high quality at large sizes; most suitable for images that are easy to achieve with vector graphics)

This list partly inspired by the famous User:Bkell/List of images in the wrong format. I've been doing some work in the last category lately and found it really rewarding. Some possible template names:

  • {{ConvertToJPEG}}, {{ShouldBeJPEG}}
  • {{HasJPEGArtifacts}}, {{ConvertedFromJPEG}}, {{NeedsArtifactRepair}}
  • {{ConvertToSVG}}, {{ShouldBeSVG}}, {{ConvertToVectorGraphics}}

What do you guys think? Deco 02:38, 1 January 2006 (UTC)

If a PNG or GIF should be a JPEG, which is quite rare, it's usually a really easy, straightforward conversion, so I'm not sure it warrants a tag. The primary reason I have a section like that on my list is because I'm lazy sometimes; it's more of a to-do list for myself. For PNGs or GIFs that were converted straight from JPEGs, I would probably recommend {{cleanup-image}}. Would there be an advantage to identifying images that have JPEG artifacts from other images that need cleanup? I like the last one (PNGs or GIFs that should be SVGs), although I think it would be easy to overapply that tag, since it could conceivably apply to a whole lot of PNGs (maps, flags, and charts especially, but also maybe logos and drawings and other things PNGs are commonly used for).
The other day I was thinking about how the image use policy on file formats is violated all the time—by images in GIF format. In several places on Wikipedia it says clearly that non-animated GIFs should not be uploaded. I wondered to myself whether a {{ConvertToPNG}} tag or something would be warranted—and then I thought about how many tens of thousands of GIFs are on Wikipedia. —Bkell 19:58, 1 January 2006 (UTC)
Converting all non-animated GIFs to PNGs is good idea, I didn't think of that one. I've created and started apply a {{ConvertToSVG}} tag on Commons (see also Commons:Category:Images that should use vector graphics). There were dozens of images already tagged with {{ifc}} for the reason that they should be converted to SVG, as there are some SVG enthusiasts over there, and I think this sort of tag helped with organization. How helpful it would be here I'm not sure. See Commons:Images for cleanup for some of the tags I created/updated - some of these might be useful here too. Deco 21:14, 1 January 2006 (UTC)

[edit] Added to Commons

For everyone's info, I have added commons:Template:BadJPEG to serve the same purpose on Commons, with the language of the template suitably adjusted for their policies and templates. Deco 02:52, 1 January 2006 (UTC)

[edit] Non-JPEG

Not that I need to right away, but if it was neccessary, can this template be added to non-JPEG images, if they have JPEG artifacts? I know there's nothing in the system to stop it, I'm just wondering does that fall into the category of uses for this template. - Рэдхот 15:54, 27 June 2006 (UTC)

I'm not sure. On Commons I tag these differently, but this template is pretty much all we have here. You might consider using it but first generalizing the text a bit. Deco 16:45, 27 June 2006 (UTC)
To avoid confusion I'd suggest making a seperate {{artifacts}} template. --ChrisRuvolo (t) 20:39, 27 June 2006 (UTC)
When I come across JPEG artifacts in a non-JPEG image, I just tag it with {{cleanup-image}}, but perhaps a more specialized tag would be nice to have. —Bkell (talk) 02:52, 28 June 2006 (UTC)
That sounds like a good idea. -Рэдхот 13:17, 28 June 2006 (UTC)
Ok well I've made {{artifacts}} now. It really had to be made I think, so I just went ahead and did it. - Рэдхот 16:53, 1 October 2006 (UTC)
Thanks, I started tagging some images with this. --ChrisRuvolo (t) 13:24, 17 October 2006 (UTC)

[edit] Deletion recommendation

This template currently recommends that when people replace a JPEG with a non-JPEG, they list the JPEG for deletion. I'm not sure that's such a good idea. If the original JPEG was a fair-use image, then orphaning it will be cause enough for an {{orfud}} tag anyway. If the original JPEG was not a fair-use image, though, its deletion will often be the destruction of important information about the history of the non-JPEG.

For example, suppose someone drew a diagram of something and uploaded it as a JPEG, releasing it under the GFDL. Maybe the JPEG underwent several revisions by various people. Then I came along and made an SVG version of the latest revision, uploaded that, and replaced all instances of the JPEG with my SVG. Now the JPEG is orphaned, but if it is deleted we lose all of the past revision history of the image (since the SVG is a derivative work of the latest JPEG, the history of the JPEG is also the history of the SVG). At best that's unfortunate, and at worst it's somehow a violation of the GFDL.

There really isn't any reason to delete orphaned, freely licensed JPEGs, so I propose we remove the suggestion that the JPEG be deleted and replace it with a suggestion to tag the JPEG with {{redundant}} (or better, a tag like {{redundant}} that doesn't imply that the image should be deleted). —Bkell (talk) 20:31, 3 July 2006 (UTC)

Also, sometimes the conversion to SVG is not done properly, so keeping the JPG will allow other people to do a better job later. WP 23:47, 3 July 2006 (UTC)
I've changed the recommendation so that it suggests the {{obsolete}} tag. —Bkell (talk) 01:13, 4 July 2006 (UTC)


[edit] PNG Compression

Some programs like Photoshop are quite bad at saving PNGs. Since it's a lossless format, this doesn't result in loss of image quality, but can impact on the filesize (some program retain colour information for 100% transparent pixels, for instance). Luckily, there are several programs that can be used to limit the filesize. —66.36.137.215 08:27, 17 August 2006 (UTC)