Commit Graph

3 Commits

Author SHA1 Message Date
91d99d4d63 new function that swaps the vertical and horizontal axis for the saved
2007-08-24  Raphael Quinet  <raphael@gimp.org>

	* plug-ins/jpeg/jpeg-settings.c (jpeg_swap_original_settings): new
	function that swaps the vertical and horizontal axis for the saved
	subsampling parameters and quantization tables.

	* plug-ins/jpeg/jpeg-exif.c (jpeg_exif_rotate): swap the saved
	settings when the image is rotated.  Fixes bug #466593.

	* devel-docs/release-howto.txt: added note about having admin
	access to Bugzilla and to the news section on www.gimp.org.

svn path=/trunk/; revision=23370
2007-08-24 18:38:30 +00:00
89f5bb46c1 plug-ins/jpeg/jpeg.[ch] in the JPEG save dialog, removed the option "Force
2007-08-10  Raphael Quinet  <raphael@gimp.org>

	* plug-ins/jpeg/jpeg.[ch]
	* plug-ins/jpeg/jpeg-save.[ch]: in the JPEG save dialog, removed
	the option "Force baseline JPEG" and added the new option "Use
	custom quantization tables" to allow resaving a JPEG file with the
	same compression settings as the original file. This is useful if
	the quantization tables are different from those that can be
	created by the IJG JPEG library.

	* plug-ins/jpeg/jpeg-settings.[ch]: updated comments, changed the
	return type of jpeg_restore_original_tables() because the IJG JPEG
	library expects unsigned integers.

svn path=/trunk/; revision=23197
2007-08-10 21:45:38 +00:00
554b12fbe7 plug-ins/jpeg/Makefile.am plug-ins/jpeg/jpeg-quality.[ch] new files
2007-07-26  Raphael Quinet  <raphael@gimp.org>

	* plug-ins/jpeg/Makefile.am
	* plug-ins/jpeg/jpeg-quality.[ch]
	* plug-ins/jpeg/jpeg-settings.[ch]: new files including functions
	for detecting the quality setting of existing JPEG files by
	analyzing their quantization tables, functions for storing this
	quality and other JPEG settings in a parasite, and functions for
	restoring these values.

	* plug-ins/jpeg/jpeg-load.c (load_image): save the original JPEG
	settings in a parasite after reading the JPEG header.

	* plug-ins/jpeg/jpeg.c (run): restore the original JPEG settings
	if they had been attached to a parasite and if they are better
	than the defaults.

	* plug-ins/jpeg/jpeg-save.c (save_image): added new type of
	subsampling 1x2,1x1,1x1, which is useful for images with height >
	width such as rotated images from some cameras.
	(save_dialog): added hints about how the subsampling types can be
	used, marked these strings as translatable.

	* plug-ins/jpeg/jpegqual.c: new utility to report the quality
	settings and sampling factors of existing JPEG files.

svn path=/trunk/; revision=23018
2007-07-26 23:01:21 +00:00