PTroller, PTcrop, PTuncrop and PTtiff2psd tests

July 6, 2010 at 9:20 pm | Posted in Uncategorized | Leave a comment

This week I spent on creating new features to the project. Mainly I created some code to test some tools such as:

  • PTroller – right now it creates tiff files itself (similar to ‘simple’ tests used for each of input files), but it is possible to use as input files tiffs that are added to the project as reference
  • PTcrop – tests are constructed as in PTroller, but it is also possible to crop and then uncrop given image and check if the image is the same (comparing to the image which was taken to the processing)
  • PTuncrop – as above
  • PTtiff2psd – for comparing I used a new function (psdCmp) based on identify command -line tool from ImageMagick (more info about using this tool: http://www.imagemagick.org/Usage/basics/#identify and http://www.imagemagick.org/Usage/files/#info – use with -verbose to get more details about the given file).  I intended to check every layer, but when I was using ImageMagick I get results similar to this: http://www.rubblewebs.co.uk/imagemagick/psd.php, so right now only 1st method is used.

other changes made in the project:

  • fixed problems with parameter testing (new reference files needed)
  • small changes in compare.pl (mainly adjustments to cmake)
  • changes in cmake files (for adding tests)
  • other smaller changes in other files

Right now I’m working on extend this tools testing capabilities, creating and planing tests for other tools (especially for PToptimizer and PTmasker).

Advertisements

Leave a Comment »

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Blog at WordPress.com.
Entries and comments feeds.

%d bloggers like this: