toast/gimp_passport.git
16 months agoAdd scaffold GIMP plugin.
Philipp Spitzer [Thu, 20 Jun 2019 19:22:18 +0000 (21:22 +0200)]
Add scaffold GIMP plugin.

16 months agoNow "mm" is shown in usage message for length arguments.
Philipp Spitzer [Thu, 20 Jun 2019 18:12:08 +0000 (20:12 +0200)]
Now "mm" is shown in usage message for length arguments.

16 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

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

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

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

16 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.

16 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().

16 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.

16 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.

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

16 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.

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

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

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

16 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.

16 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.

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

16 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.