spiv: Skip number of images in dir if not in dir

This fixes spiv to skip info line with current dir position and number
of images if the current argument is not directory.

Signed-off-by: Cyril Hrubis <metan@ucw.cz>
pywrap: filters: Update filters wrappings.

* Add the wrongly removed core import back
  (fixes GP_Size map to int in swig)

* Add exceptions on filter failure

* Add filter submodule

Signed-off-by: Cyril Hrubis <metan@ucw.cz>
filters: ResizeCubicFloat: Set errno.

Set errno to ENOSYS on currently unimplemented GP_PixelType.

Signed-off-by: Cyril Hrubis <metan@ucw.cz>
loaders: JPG: Fix cinfo init for GP_SaveJPG()

Set correctly color space and number of components.

Signed-off-by: Cyril Hrubis <metan@ucw.cz>