Code Monkey home page Code Monkey logo

dpfmanager's Introduction

DPFManager

DPF Manager: Digital Preservation Formats Manager (Image files)

DPF Manager is an open source modular TIFF conformance checker that is extremely easy to use, to integrate with existing and new projects, and to deploy in a multitude of different scenarios. It is designed to help archivists and digital content producers ensure that TIFF files are fit for long term preservation, and is able to automatically suggest improvements and correct preservation issues. The team developing it has decades of experience working with image formats and digital preservation, and has leveraged the support of 60+ memory institutions to draft a new ISO standard proposal (TIFF/A) specifically designed for long term preservation of still-images. An open source community will be created and grown through the project lifetime to ensure its continuous development and success. Additional commercial services will be offered to make DPF Manager self-sustainable and increase its adoption.

Licensing

The DPF Manager is dual-licensed:

CI Status

  • Build Status Travis-CI: master

  • Build Status Travis-CI: develop

Getting DPF Manager software

Download release version

You can download an installer for the latest DPF Manager GUI release from our download site.

Download latest development version

If you want to try the latest development version you can obtain it from our development download site.

Run DPF Manager

You can run the DPF Manager in two modes, GUI and CLI. To start the software in GUI mode just double-click the GUI executable. A manual for the GUI can be found in our download site.

For using the CLI in non-windows operating systems use the terminal and enter the following command which will explain the available parameters.

dpf_manager -h

For Windows operating systems use the CLI executable named dpf-manager-console.exe instead.

Building the DPF Manager from Source

Pre-requisites

If you want to build the code from source you'll require:

Downloading the latest release source

You can use Git to download the source code.

git clone https://github.com/EasyinnovaSL/DPFManager.git

or download the latest release from [GitHub] (https://github.com/EasyinnovaSL/DPFManager/releases).

Use Maven to compile the source

Move to the downloaded project directory and call Maven install:

cd DPFManager
mvn clean install

The executable and the installer will be generated under the directory target/jfx.

Compiling with OpenJDK instead of OracleJDK

We recommend to compile the DPF Manager using the OracleJDK, since compiling the project with it, is straightforward.

However, if you want to use OpenJDK instead of OracleJDK, you will need to build with the open version of OpenJDK that includes JavaFX completely from source.

dpfmanager's People

Contributors

adri7 avatar antonio-manuel avatar carlos-garciarubio-edo avatar david-russo avatar easyinnova avatar jordiauger avatar kevineasy avatar marllambi avatar victormunoz avatar xavitarres avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dpfmanager's Issues

Remember path on file dialogs

It would be a nice feature, if the file dialog windows would remember the latest path used (during the app is running but also in between separate runs)

Allow recursive directory processing (CLI)

I recognized that

1.2.1 does not process directories at all
while commit d7b7c64 does

yet, it would be cool if you could specify either a -r option or a depth option that lets the user specify how deep directories are parsed for tif files.

Selected file disappears

The file (or folder) selected in the main window disappears after creating a new configuration.

OSGi

Use OSGI framework

Output selector

Option to specify the output folder in the GUI, to store the reports and the fixed TIFF files

Thumbnail error

The thumbnail of the image "tiffep-sample-EP-thumb" fails to generate correctly

Allow window resizing

The main window of the DPF Manager has a fixed size. It is only resizable when displaying a report, but it should be resizable in all places.

Reports summary

In the reports view, the summary in the table doesn't match with the reports.

Reports tab redesign

Show date with time, eliminate duplicate info, shrink columns, show input file (or folder).

Deletion of configs should ask for confirmation

When deleting a configuration DPFManager siltently removes the config file completely which may destroy a lot of work for complex configuration. Please add a Warning / Confirmation Dialog for deletion of which the default is set to "do not delete"

Version number

Show version number in about tab, and an option for the CLI

Help buttons

Implement the gui buttons (i) to show appropiate information

build JFX Version fails to start with NullPtrException

applies to commit: 3113e06
System: Windows 7, Java(TM) SE Runtime Environment (build 1.8.0_66-b17)

It seems that it fails, if the default installation has been uninstalled and all DPFManager folders (users dir) have been removed. It also happens when the app folder is copied to a "blank" system:

Exception in Application start method
java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at com.sun.javafx.application.LauncherImpl.launchApplicationWithArgs(Unknown Source)
        at com.sun.javafx.application.LauncherImpl.launchApplication(Unknown Source)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at sun.launcher.LauncherHelper$FXHelper.main(Unknown Source)
Caused by: java.lang.RuntimeException: Exception in Application start method
        at com.sun.javafx.application.LauncherImpl.launchApplication1(Unknown Source)
        at com.sun.javafx.application.LauncherImpl.lambda$launchApplication$155(Unknown Source)
        at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NullPointerException
        at dpfmanager.MainApp.ShowMain(MainApp.java:332)
        at dpfmanager.MainApp.LoadGui(MainApp.java:224)
        at dpfmanager.MainApp.start(MainApp.java:176)
        at com.sun.javafx.application.LauncherImpl.lambda$launchApplication1$162(Unknown Source)
        at com.sun.javafx.application.PlatformImpl.lambda$runAndWait$175(Unknown Source)
        at com.sun.javafx.application.PlatformImpl.lambda$null$173(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at com.sun.javafx.application.PlatformImpl.lambda$runLater$174(Unknown Source)
        at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(Unknown Source)
        at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
        at com.sun.glass.ui.win.WinApplication.lambda$null$148(Unknown Source)
        ... 1 more
Exception running application dpfmanager.MainApp

Log file content not helpful

The content of the log file is not very helpful, There are just statements as

Error:java.lang.NullPointerException

without saying the source location or any other description

UI and CLI hangs without viewable reason

System: Windows 7, Java JRE 1.8.0_66 64bit
Version: Commit d7b7c64

Directory processed: link
Config file contains:

ISO Baseline
ISO Tiff/EP
ISO Tiff/IT
ISO Tiff/IT-1
ISO Tiff/IT-2
FORMAT  HTML
FORMAT  XML
FORMAT  JSON
RULE    ImageWidth,>,100
RULE    ImageHeight,>,100
FIX Copyright,Remove Tag,
FIX ImageDescription,Add Tag,New Description

Make configuration editable via UI

A configuration that has been saved once cannot be edited via the UI Wizard. Would be a good feature to let the user edit configurations after saving them.

UI crashes when generating pdf report

applies to installed version 1.2.1 (Windows 7)
processed folder (from the source distribution): [src_root]/src/test/resources/Block/Bad alignment Big E.tif

Config file:
config_04.dpf.txt

error message:

Processing file D:\workspace\preforma\DPFManager\src\test\resources\Block\Bad alignment Big E.tif
Internal report 'reports/20151116/3/Bad alignment Big E.tif' created
java.lang.NullPointerException
        at org.apache.pdfbox.pdmodel.common.PDStream.<init>(PDStream.java:131)
        at org.apache.pdfbox.pdmodel.graphics.xobject.PDJpeg.<init>(PDJpeg.java:104)
        at dpfmanager.shell.modules.reporting.ReportPDF.parseGlobal(ReportPDF.java:385)
        at dpfmanager.ReportGenerator.makeSummaryReport(ReportGenerator.java:723)
        at dpfmanager.shell.modules.classes.ProcessInput.ProcessFiles(ProcessInput.java:121)
        at dpfmanager.MainApp$4.call(MainApp.java:549)
        at dpfmanager.MainApp$4.call(MainApp.java:525)
        at javafx.concurrent.Task$TaskCallable.call(Unknown Source)
        at java.util.concurrent.FutureTask.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)
Exception in thread "Thread-10" java.lang.IllegalArgumentException: The file: reports\20151116\3\report.pdf doesn't exist.
        at java.awt.Desktop.checkFileValidation(Unknown Source)
        at java.awt.Desktop.open(Unknown Source)
        at dpfmanager.MainApp$4$1.run(MainApp.java:562)
        at java.lang.Thread.run(Unknown Source)
WARN  COSDocument - Warning: You did not close a PDF Document
WARN  COSDocument - Warning: You did not close a PDF Document
WARN  COSDocument - Warning: You did not close a PDF Document
WARN  COSDocument - Warning: You did not close a PDF Document
WARN  COSDocument - Warning: You did not close a PDF Document
WARN  COSDocument - Warning: You did not close a PDF Document
WARN  COSDocument - Warning: You did not close a PDF Document
WARN  COSDocument - Warning: You did not close a PDF Document
WARN  COSDocument - Warning: You did not close a PDF Document

make reports downloadable from UI

While viewable (and copy & pasteable) from the UI and also existing in the file system it would be a nice feature, if the report could be downloaded from the UI.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.