Editing Bad Peggy

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
{{Infobox tool
+
<!-- Use the structure provided in this template, do not change it! -->
 +
 
 +
{{Infobox_tool
 +
|purpose=Scans for damaged images and photos.
 
|image=BadPeggy.png
 
|image=BadPeggy.png
|purpose=Scans for damaged images and photos.
+
|homepage=https://www.coderslagoon.com/home.php?lang=EN
|homepage=https://www.coderslagoon.com/#/product/badpeggy
 
 
|license=GPLv3
 
|license=GPLv3
 
|platforms=Windows, Linux, OSX
 
|platforms=Windows, Linux, OSX
|Wikidata ID=Q96623169
 
|formats_in=BMP, GIF, JPEG, PNG
 
|function=Quality Assurance, Validation
 
|content=Image
 
 
}}
 
}}
{{Infobox tool details}}
+
<!-- Note that to use the image field, you should leave the value as {{PAGENAMEE}}.png (or similar) and upload a copy of the image. Hot-linking is not supported. If you don't want an image, just remove that line. -->
 +
 
 +
<!-- Add one or more categories to describe the function of the tool, such as:
 +
[[Category:Metadata Extraction]] or [[Category:Preservation System]] or [[Category:Backup]]
 +
Choose carefully, and view the list of existing categories first (see the Navigation sidebar on the left) -->
 +
[[Category:Validation]]
 +
[[Category:Quality Assurance]]
 +
[[Category:Image]]
 +
 
 +
<!-- Add relevant categories to describe the content type that the tool addresses, such as:
 +
[[Category:Audio]] or [[Category:Document]] or [[Category:Research Data]]
 +
Choose carefully, and view the list of existing categories first (see the Navigation sidebar on the left). If the tool works on any content type, do not add a category. -->
 +
[[Category:Validation]]
 +
[[Category:Quality Assurance]]
 +
[[Category:Image]]
 +
 
 
== Description ==
 
== Description ==
 
<!-- Describe the what the tool does, focusing on it's digital preservation value. Keep it factual. -->
 
<!-- Describe the what the tool does, focusing on it's digital preservation value. Keep it factual. -->
Bad Peggy scans images ([[JPEG]], [[PNG]], [[BMP]], [[GIF]]) for damages and other blemishes, and shows the results and files instantly. It enables you to find such broken files quickly, inspect and then either delete or move them to a different location.  
+
Bad Peggy scans images ({{Format|JPEG}}, {{Format|PNG}}, {{Format|BMP}}, {{Format|GIF}}) for damages and other blemishes, and shows the results and files instantly. It enables you to find such broken files quickly, inspect and then either delete or move them to a different location.  
 
   
 
   
 
Requires Java 6 or higher.  
 
Requires Java 6 or higher.  
 
   
 
   
Licensed under the GPLv3.
+
Lizensed under the GPLv3.  
 
+
Quoted from the documentation:
+
"Bad Beggy uses the Java Image IO (JIIO) library to examine image files. Its decoder emits warnings and errors while an image gets loaded. Thus the results do depend on it being up-to-date and also its changes in functionality. Bad Peggy checks though on startup if in general, well-known errors in images do get detected, i.e. if JIIO is still functioning in detecting damaged images as expected. What "damaged" truly means depends and can be
 
*small difference from the official format, e.g. extra data appended after the actual image.
 
*non-critical issues like unknown values, which do not affect displaying the image at all.
 
*minor damage which only disturb smaller parts of the image.
 
*major damage, which causes the display to be corrupted after a particular position.
 
*completely truncated or i.e. incomplete images.
 
*errors at the beginning of the files, so that decoding can't even commence.
 
*files with are not images at all, but accidentally carry the file extension.
 
*image files which don't get recognized b the JIIO, but can be processed by other image viewers, e.g. if additional information is stored before the *image data starts (which smarter or more aggressive decoders then skip).
 
*an image which looks damaged because it got loaded as such, and saved again in another application - and thus is structurally fine.
 
*an image which is logically damaged but does not cause complains by the JIIO, although the flaws are clearly visible - this is one of the most problematic cases, since such files won't be detected by Bad Peggy - detection for such problems is difficult, you can compare this with a text editor loading and displaying a file with the word "text pr{cessor" in the, where the 'a' to '{' change was caused by a faulty transmission but the text *still makes sense to the editor itself.
 
In general it is not recommended to just discard every image reported as damaged but to check out if repairing or re-saving the file in other applications into a generally valid image format is possible."
 
 
 
 
== User Experiences ==
 
== User Experiences ==
 
<!-- Add hotlinks to user experiences with the tool (eg. blog posts). These should illustrate the effectiveness (or otherwise) of the tool. Use a bullet list. -->
 
<!-- Add hotlinks to user experiences with the tool (eg. blog posts). These should illustrate the effectiveness (or otherwise) of the tool. Use a bullet list. -->
* '''KOST-CECO:''' Used in [[KOST-Val]] for the JPEG validation module. [[KOST-Val]] evaluates the error message "Not a JPEG file" further.
+
* '''Error detection of JPEG files with JHOVE and Bad Peggy:''' http://openpreservation.org/blog/2016/11/29/jpegvalidation/ (December 2016)
+
 
 
* To validate other file formats than JPEG, make sure the file extension (e. g. gif, png, bmp) appears on the List "options" -> "file extension". If it does not appear there, maybe you should re-download directly from '''Coderslagoon''' https://www.coderslagoon.com/#/product/badpeggy
 
 
 
 
== Development Activity ==
 
== Development Activity ==
 
<!-- Provide *evidence* of development activity of the tool. For example, RSS feeds for code issues or commits. -->
 
<!-- Provide *evidence* of development activity of the tool. For example, RSS feeds for code issues or commits. -->
Line 52: Line 49:
 
   
 
   
 
Bad Peggy Sources: https://www.coderslagoon.com/files/badpeggy20_src.tar.xz
 
Bad Peggy Sources: https://www.coderslagoon.com/files/badpeggy20_src.tar.xz
 +
 +
{{Infobox_tool_details
 +
|releases_rss=
 +
|issues_rss=
 +
|mailing_lists=
 +
|ohloh_id=
 +
}}

Please note that all contributions to COPTR are considered to be released under the Attribution-ShareAlike 3.0 Unported (see COPTR:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To edit this page, please answer the question that appears below (more info):

Cancel Editing help (opens in new window)