toast/gimp_passport.git
11 months agofix a typo in the docstring
gregor herrmann [Tue, 11 Jun 2019 20:24:05 +0000 (22:24 +0200)]
fix a typo in the docstring

11 months agoWork in progress...
Philipp Spitzer [Tue, 11 Jun 2019 07:19:22 +0000 (09:19 +0200)]
Work in progress...

11 months agoCreate function num_tiles_xy().
Philipp Spitzer [Fri, 7 Jun 2019 21:08:40 +0000 (23:08 +0200)]
Create function num_tiles_xy().

11 months agoCreate function num_tiles().
Philipp Spitzer [Fri, 7 Jun 2019 20:47:28 +0000 (22:47 +0200)]
Create function num_tiles().

11 months agoSupport parameter --photo-spacing in main() and command line.
Philipp Spitzer [Wed, 5 Jun 2019 04:35:08 +0000 (06:35 +0200)]
Support parameter --photo-spacing in main() and command line.

11 months agoAdd parameter spacing_mm to function tile().
Philipp Spitzer [Wed, 5 Jun 2019 04:26:26 +0000 (06:26 +0200)]
Add parameter spacing_mm to function tile().

11 months agoMake more use of function mm_to_pixel.
Philipp Spitzer [Wed, 5 Jun 2019 04:12:41 +0000 (06:12 +0200)]
Make more use of function mm_to_pixel.

11 months agoUse img.width instead of img[0]; same for hight.
Philipp Spitzer [Wed, 5 Jun 2019 04:12:25 +0000 (06:12 +0200)]
Use img.width instead of img[0]; same for hight.

11 months agoCreate test for make_passport.
Philipp Spitzer [Tue, 4 Jun 2019 21:18:23 +0000 (23:18 +0200)]
Create test for make_passport.

11 months agoAdd command line arguments; main() now tiles.
Philipp Spitzer [Tue, 4 Jun 2019 21:09:15 +0000 (23:09 +0200)]
Add command line arguments; main() now tiles.

11 months agoCreate function tile().
Philipp Spitzer [Tue, 4 Jun 2019 21:04:11 +0000 (23:04 +0200)]
Create function tile().

11 months agoCreate function mm_to_float().
Philipp Spitzer [Tue, 4 Jun 2019 20:33:22 +0000 (22:33 +0200)]
Create function mm_to_float().

11 months agoAdd DPI to output image.
Philipp Spitzer [Mon, 3 Jun 2019 21:28:26 +0000 (23:28 +0200)]
Add DPI to output image.

11 months agoCreate unittest for gimp_passport.py.
Philipp Spitzer [Mon, 3 Jun 2019 21:22:12 +0000 (23:22 +0200)]
Create unittest for gimp_passport.py.

11 months agomake_passport() now takes an Image instance instead of a filename.
Philipp Spitzer [Mon, 3 Jun 2019 21:12:26 +0000 (23:12 +0200)]
make_passport() now takes an Image instance instead of a filename.

11 months agoNow using argparse.
Philipp Spitzer [Mon, 3 Jun 2019 20:57:13 +0000 (22:57 +0200)]
Now using argparse.

11 months agoInitial version creating a passport image from a .png with tranparency.
Philipp Spitzer [Mon, 3 Jun 2019 20:20:51 +0000 (22:20 +0200)]
Initial version creating a passport image from a .png with tranparency.