Commit d64a9bd2 authored by Rios, Raul's avatar Rios, Raul
Browse files

add pdf to png converter

parent 93c0208f
Loading
Loading
Loading
Loading

app/README.md

0 → 100644
+19 −0
Original line number Diff line number Diff line
#Desktop Digitizer

This is a modification and enhancement of the existing WebPlotDigitizer by Ankit Rohatgi which is available via Open Source GPLv3 licensing. The Desktop Digitizer will form part of the Advanced Manufacturing Office's software suite by Department of Energy (DOE). The purpose of this tool is to facilitate the extraction of numerical data from a digitial representation of a performance curve by plotting the curve to a discrete set of x and y coordinates that can be exported to comma separated values (CSV) files.   

##This is achieved by the following:

###Electron

* This is the Javascript framework used to port the web application as a desktop application to be used on Windows, Mac, and Linux. 

###Removing PHP and other unnecessary scripts/dependencies

* The original WebPlotDigitizer utilized a minimal portion of PHP for file upload/download functionality which was replaced by Electron's file system functionality.

* Python and R scripts were removed as they had no real impact to the functionality of the application.

###Added PDF Functionality

* Application is able to accept pdf files, by converting them to png files and then displaying them on the canvas.
+39 −0
Original line number Diff line number Diff line
0 info it worked if it ends with ok
1 verbose cli [ '/usr/local/bin/node', '/usr/local/bin/npm', 'i', '.' ]
2 info using npm@2.15.5
3 info using node@v4.4.5
4 verbose install initial load of /Users/raulrios/Desktop/digitizer/app/package.json
5 warn package.json digitizer@0.1.0 No repository field.
6 warn package.json digitizer@0.1.0 No license field.
7 verbose installManyTop reading scoped package data from /Users/raulrios/Desktop/digitizer/app/node_modules/csv-write-stream/package.json
8 verbose installManyTop reading scoped package data from /Users/raulrios/Desktop/digitizer/app/node_modules/electron-packager/package.json
9 verbose installManyTop reading scoped package data from /Users/raulrios/Desktop/digitizer/app/node_modules/electron-prebuilt/package.json
10 verbose installManyTop reading scoped package data from /Users/raulrios/Desktop/digitizer/app/node_modules/fs-jetpack/package.json
11 verbose installManyTop reading scoped package data from /Users/raulrios/Desktop/digitizer/app/node_modules/pdf2png/package.json
12 info package.json pdf2png@1.0.5 No license field.
13 verbose readDependencies loading dependencies from /Users/raulrios/Desktop/digitizer/app/package.json
14 silly cache add args [ '.', null ]
15 verbose cache add spec .
16 silly cache add parsed spec Result {
16 silly cache add   raw: '.',
16 silly cache add   scope: null,
16 silly cache add   name: null,
16 silly cache add   rawSpec: '.',
16 silly cache add   spec: '/Users/raulrios/Desktop/digitizer/app/error-reporting',
16 silly cache add   type: 'local' }
17 error addLocal Could not install /Users/raulrios/Desktop/digitizer/app/error-reporting
18 verbose stack Error: EISDIR: illegal operation on a directory, read
18 verbose stack     at Error (native)
19 verbose cwd /Users/raulrios/Desktop/digitizer/app/error-reporting
20 error Darwin 15.3.0
21 error argv "/usr/local/bin/node" "/usr/local/bin/npm" "i" "."
22 error node v4.4.5
23 error npm  v2.15.5
24 error code EISDIR
25 error errno -21
26 error syscall read
27 error eisdir EISDIR: illegal operation on a directory, read
27 error eisdir This is most likely not a problem with npm itself
27 error eisdir and is related to npm not being able to find a package.json in
27 error eisdir a package you are trying to install.
28 verbose exit [ -21, true ]
+1 −0
Original line number Diff line number Diff line
../electron-prebuilt/cli.js
 No newline at end of file
+1 −0
Original line number Diff line number Diff line
../electron-packager/cli.js
 No newline at end of file
+11 −0
Original line number Diff line number Diff line
root = true

[*]
end_of_line = lf
indent_size = 2
indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true

[*.js]
charset = utf-8
Loading