Difference between revisions of "Bad Peggy"

From COPTR
Jump to navigation Jump to search
 
(6 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<!-- Use the structure provided in this template, do not change it! -->
+
{{Infobox tool
 
 
{{Infobox_tool
 
|purpose=Scans for damaged images and photos.
 
 
|image=BadPeggy.png
 
|image=BadPeggy.png
|homepage=https://www.coderslagoon.com/index.php?lang=EN
+
|purpose=Scans for damaged images and photos.
 +
|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
 
}}
 
}}
<!-- 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. -->
+
{{Infobox tool details}}
 
 
<!-- 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 ({{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.  
+
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.  
 
   
 
   
 
Requires Java 6 or higher.  
 
Requires Java 6 or higher.  
 
   
 
   
Lizensed under the GPLv3.
+
Licensed under the GPLv3.
  
 
Quoted from the documentation:
 
Quoted from the documentation:
Line 50: Line 37:
 
* '''KOST-CECO:''' Used in [[KOST-Val]] for the JPEG validation module. [[KOST-Val]] evaluates the error message "Not a JPEG file" further.
 
* '''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)
 
* '''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 ==
Line 63: Line 52:
 
   
 
   
 
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=
 
}}
 

Latest revision as of 09:41, 8 April 2024

Bad Peggy
Scans for damaged images and photos.
Homepage:https://www.coderslagoon.com/#/product/badpeggy
License:GPLv3
Platforms:Windows, Linux, OSX
Wikidata ID:Q96623169
Input Formats:BMP, GIF, JPEG, PNG
Function:Quality Assurance,Validation
Content type:Image




Description[edit]

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.

Requires Java 6 or higher.

Licensed 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[edit]

  • 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[edit]

New in Version 2.0:

  • Support for PNG, BMP and GIF images.
  • Simplified status bar.
  • Visual error differentiation changed to grayscale.
  • Error differentiation now in done in gray tones.
  • Message box button text is now translated.
  • Minor bug fixes and cosmetic changes.

Bad Peggy Sources: https://www.coderslagoon.com/files/badpeggy20_src.tar.xz