TIFF Image Data Checksummer
Checksums the image data portion of a TIFF file, as opposed to the entire TIFF file. Useful for ensuring that the pixel data remains the same before and after some process.
- Initial version
To install you need:
- Cygwin (for Windows)
- Git client
- Cmake
Note: Only tested on windows so far. To download and build follow these steps:
$ git clone https://github.com/pmay/Tifixity.git
$ cd Tifixity
$ mkdir build
$ cd build
$ cmake -G "Unix Makefiles" ..
$ make
The cmake command will generate a Makefile in the build directory, which make uses to build the tifixity executable. After successful completion, the tifixity executable will be in the build directory.
To use the tool, you can try the following command (from the build directory):
$ ./tifixity ../test/rgbstrips.tiff
5478865efdfc945d291b584402d34a33
Tifixity was developed with Eclipse + CDT. To setup the Eclipse IDE with this project:
- Start Eclipse
- Select "File > Import". Then, select "C/C++ > Existing Code as Makefile Projects" and click "Next"
- Give it an Eclipse Project Name, such as Tifixity
- Provide your local repo directory as the Existing Code Location
- Select the Cygwin GCC as the toolchain location (for Windows)
- Click "Finish" to create the project.
To build within Eclipse, you'll need to set up a Make Target to perform the cmake command, as well as set the Project's default builder settings:
- Select "Window > Show View > Make Target" to view the Make Target side bar
- Create a New Make Target
- Give it a name, such as "Run CMake"
- Ensure "Same as the target name" is unchecked and "Make target:" is blank
- Under "Build Command", uncheck "Use builder settings" and set "Build command:" to cmake -E chdir build/ cmake -G "Unix Makefiles" ../
- Click "OK" to complete
Running this Make Target will execute cmake to rebuild the Makefile
- Right click the project and select "Properties"
- Select "C/C++ Build" and uncheck the "Use default build command"
- Set the "Build command:" to make -C ${ProjDirPath}/build VERBOSE=1 -j
Now when you build the project, make will execute using the Makefile in the build directory
Getting "TIFFOpen: (null): Bad address."
Error handling isn't what it should be in this prototype. You've forgotten a TIFF file to check
Tifixity is released under Apache version 2.0 license.
- Fork the GitHub project
- Change the code and push into the forked project
- Submit a pull request