2005-07-14  Dieter Baron  <dillo@danbala.tuwien.ac.at>

	* configure.in: bump version to 0.2.

	* src/epsf.c (_calculate_bbox): explicitly convert double to int
	for consistency across platforms.

	* src/epsf.h (epsf_asc_num, epsf_grav_num, epsf_ori_num),
	src/image.h (image_compression_num, image_cspace_num) : cast to
	correct enum type.

	* src/epsf.c (epsf_set_orientation): use correct enum type for
	variable.

	* src/snprintf.c (xyzprintf): declare/use long_long_flag only if
	we have long long.

2005-07-07  Dieter Baron  <dillo@danbala.tuwien.ac.at>

	* src/img2eps.c (main): new option --ignore-order.
	* src/epsf.c (epsf_calculate_parameters, _calculate_bbox): handle
	EPSF_FLAG_IGNORE_ORDER.
	* src/epsf.h (EPSF_FLAG_IGNORE_ORDER): new flag.

	* src/img2eps.c (help_tail): include list of optional libraries
	for which support is enabled.

	* src/image.c (image_info_print): return const char *.

	* src/image.h (image_order_swapped): IMAGE_ORD_ROW_RB is not
	swapped.
	* src/epsf.c (_write_image_matrix): fix image_order transformation
	matrices.

2005-07-06  Dieter Baron  <dillo@danbala.tuwien.ac.at>

	* src/img2eps.c (main): add -n option.
	* src/epsf.c (epsf_process): don't output EPSF if st is NULL.
	
	* src/epsf.c (epsf_print_parameters): print bounding box
	
	* src/img2eps.c (main): new option -R.
	* src/epsf.c (epsf_calculate_parameters, epsf_print_parameters,
	epsf_write_data): use EPSF_FLAG_DIRECT_COPY.
	* src/epsf.c (epsf_create_defaults): set flags to default value.
	* src/epsf.c (epsf_create): copy flags.
	* src/epsf.h (EPSF_FLAG_DIRECT_COPY): new flag.

2005-06-21  Thomas Klausner  <wiz@danbala.tuwien.ac.at>

	* configure.in, doc/Makefile.am: man format handling without
	symlinks.

2005-06-20  Dieter Baron  <dillo@danbala.tuwien.ac.at>

	* src/epsf.c (_calculate_bbox): if image dimensions are given,
	still calculate paper dimensions (instead of using uninitialized
	values.)

	* configure.in: remove --disable-lzw option.

2005-01-07  Dieter Baron  <dillo@danbala.tuwien.ac.at>

	* src/epsf.c (epsf_set_gravity, epsf_set_resolution): stricter
	validation of argument.
	* src/img2eps.c (illegal_argument): new function.
	* src/img2eps.c (main): print error message and exit for illegal
	argument to option.
	
	* src/img2eps.c (extsubst): constify.

	* src/epsf.h (epsf_placement): represent gravity as pair of
	floats, add image size, separate resolution for x and y.
	* src/epsf.c (epsf_set_gravity): allow gravity to be specified as
	pair of floats.
	* src/epsf.c (epsf_set_paper): allow paper size to be specified as
	dimen pair.
	* src/epsf.c (epsf_set_resolution): allow separate resolution for
	x and y.
	* src/epsf.c (epsf_set_image_size): new function.
	* src/epsf.c (epsf_set_margin): pass in dimen as string, add flags
	argument to specify which margins to set; adapt callers.
	* src/epsf.c (_dimen_get, _dimen_parse_pair, _dimen_scale): new
	functions.
	* src/epsf.c (_dimen_parse): rename from epsf_parse_dimen, adapt
	to new dimen infrastructure.
	* src/epsf.c (_calculate_bbox): adapt.
	* src/img2eps.c: add option to specify image size.

2005-01-06  Dieter Baron  <dillo@danbala.tuwien.ac.at>

	* configure.in (NIH_CHECK_SUPPORT): new macro.
	* configure.in: restructure support checks, add check and option
	for EXIF, try to find libpng via pkg_config (with fallback to
	AC_CHECK_LIB).
	* src/image.h (image_order_swapped): new macro.
	* src/epsf.c (_calculate_bbox): for column-major pixel order, swap
	width and height.
	* src/im_jpeg.c (exif_order): new function.
	* src/im_jpeg.c (jpeg_open): determine pixel order from EXIF tag.

	* src/img2eps.c (main): add options to specify margins separately.

2005-01-04  Dieter Baron  <dillo@danbala.tuwien.ac.at>

	* src/epsf.h (epsf_gravity, epsf_orientation, epsf_placement): new
	types.
	* src/epsf.c (epsf_set_gravity, epsf_set_orientation,
	epsf_set_resolution, _calculate_scale): new functions.
	* src/epsf.c (epsf_create_defaults, epsf_create, _calculate_bbox):
	adapt to new placement types.
	* src/epsf.c (epsf_write_setup): add support for image rotation.
	* src/img2eps.c: add options for new placement functionality.
	
2004-03-03  Dieter Baron  <dillo@danbala.tuwien.ac.at>

	* src/im_jpeg2000.c: adapt to changes in jasper 1.700

2003-12-14  Dieter Baron  <dillo@danbala.tuwien.ac.at>

	* src/epsf.h, src/exceptions.h, src/image.h src/stream.h,
	src/stream_types.h, src/util.h, src/xmalloc.h: remove parameter
	names from prototypes.

	* src/img2eps.c (main): don't free ex.data, not all strings are
	allocated.
	
2002-11-13  Dieter Baron  <dillo@danbala.tuwien.ac.at>

	* configure.in, src/Makefile.am, src/image.c, src/im_jpeg2000.c:
	add support for JPEG 2000 image format.

	* src/exceptions.h: rename struct exception to struct exception_s
	to avoid conflict with math.h.

2002-11-10  Dieter Baron  <dillo@danbala.tuwien.ac.at>

	* src/im_gif.c (gif_read, gif_read_start): deinterlace interlaced
	images.

2002-10-22  Dieter Baron  <dillo@danbala.tuwien.ac.at>

	* src/st_ascii85.c: remove unused variable hex.

2002-10-16  Dieter Baron  <dillo@danbala.tuwien.ac.at>

	* configure.in: step version to 0.1.
