Commit Graph

33665 Commits

Author SHA1 Message Date
Michael Natterer 73f5e2c21a modules: remove the old convert_surface() from gamma and high contrast 2013-11-02 14:47:54 +01:00
Michael Natterer e96b1db023 modules: implement convert_buffer() in the color blind display filter 2013-11-02 14:43:47 +01:00
Michael Natterer c7051b4caa app: variable renaming in gimpdisplayshell-render.c for better readability 2013-11-02 03:11:44 +01:00
Michael Natterer 78706f7796 modules: implement convert_buffer() in the lcms display filter 2013-11-02 03:02:09 +01:00
Michael Natterer fcd457e67b modules: implement convert_buffer() in the gamma display filter 2013-11-02 01:51:05 +01:00
Michael Natterer a04c442e69 modules: implement convert_buffer() in the high contrast display filter 2013-11-02 01:38:50 +01:00
Michael Henning 0ef745cad2 build/win: Start building libgexiv2 and exiv2 2013-11-01 20:16:17 -04:00
Michael Natterer c3ae7d587d app: port gimp_display_shell_render() to GimpColorDisplay::convert_buffer()
which means applying a series of nops until the display filters are
ported.
2013-11-02 00:48:02 +01:00
Michael Natterer 50d4fe3496 libgimpwidgets: add GimpColorDisplay::convert_buffer()
which takes a GeglBuffer and a GeglRectangle.
2013-11-01 22:34:09 +01:00
Michael Natterer 5fd46384a5 libgimpwidgets: include <gegl.h> in all files that include gimpcolordisplay.h 2013-11-01 22:32:31 +01:00
Michael Natterer a5d4f3ae04 modules: also include <gegl.h> when we include "libgimpwidgets/gimpwidgets.h 2013-11-01 22:30:36 +01:00
Michael Natterer ec9879ea6e libgimp: also include <gegl.h> when we include "libgimpwidgets/gimpwidgets.h" 2013-11-01 22:29:46 +01:00
Michael Natterer aea161c9a5 app: also include <gegl.h> when we include "libgimpwidgets/gimpwidgets.h" 2013-11-01 22:28:18 +01:00
Michael Natterer a387d2fe28 devel-docs: change the libgimpwidgets doc stuff so it handles GEGL types 2013-11-01 22:14:57 +01:00
Michael Natterer af8cebc2f7 plug-ins: only include "libgimp/gimp.h" and "libgimp/gimpui.h" 2013-11-01 22:13:05 +01:00
Michael Natterer ce57aef6ee libgimpbase: fix gimp_metadata_set_resolution() to only set rationals
Rationals have integers as nominator and denominator, so we can't set
something like "300.5/1". Instead, multiply the nominator and
denominator of non-integer ppi values until the error is smaller than
0.01, or the denomiator reaches 100 ("300.5/1" becomes "601/2").
2013-11-01 17:36:26 +01:00
Michael Natterer e03fd943bf libgimpbase: use gexiv2_metadata_get_exif_tag_rational() to get the resolution
and remove our own rational parser, we can get it back from git if we
need it again.
2013-11-01 17:01:44 +01:00
Michael Natterer 798c62a544 Bug 711241 - Broken or unknown metadata tag should not cancel...
...the whole metadata loading

Don't serialize a value that does not UTF-8-validate to XML. This is
not a real fix, but no matter what we do here in the future, UTF-8
validation should always be part of the serialization, in order to
avoid passing broken data into the core.
2013-11-01 14:15:15 +01:00
Michael Natterer 3508079dcf plug-ins: add loading and saving of the image's resolution in file-pcx 2013-11-01 13:51:31 +01:00
Michael Natterer ba7acdb901 plug-ins: port colormap-remap to GEGL 2013-10-31 12:24:40 +01:00
Michael Natterer 49758867fc plug-ins: load the JPEG thumbnail using the new libgimp API 2013-10-30 00:06:05 +01:00
Michael Natterer 1522c506a2 libgimp: add gimp_image_metadata_load_thumbnail()
which loads an image file's Exif thumbnail into a correctly rotated
gimp image.
2013-10-30 00:04:36 +01:00
Michael Schumacher 8db3b4312d Global EXIF -> Exif string change (official spelling) 2013-10-29 22:48:46 +01:00
Michael Natterer 424129cc60 Bug 710974 - Convert to Color profile fails on images with layer groups
Handle layer groups recursively, and don't convert the group layer
itself.
2013-10-29 19:35:26 +01:00
Martin Srebotnjak d80812cf16 Updated Slovenian translation 2013-10-29 19:20:31 +01:00
Martin Srebotnjak 364225b841 Updated Slovenian translation 2013-10-29 19:20:11 +01:00
Martin Srebotnjak 5a86d997a4 Updated Slovenian translation 2013-10-29 19:19:29 +01:00
Michael Natterer b60cfac840 plug-ins: move the metadata plug-in from File to Image 2013-10-29 17:37:49 +01:00
Michael Henning 09bec557d4 build/win: Fix string comparison in split-build for non-bash shells. 2013-10-28 19:34:37 -04:00
Enrico Nicoletto 8277055a8d Updated Brazilian Portuguese translation 2013-10-28 21:02:44 -02:00
Michael Natterer 8488248ec6 app: should also register a loader for XCF version 6... 2013-10-28 19:44:01 +01:00
Michael Natterer 95829c01cf app: save XCF version 6 when the image has metadata 2013-10-28 19:40:41 +01:00
Michael Natterer f9e2614c8c libgimp: use gexiv2_metadata_get_tag_interpreted_string() for the comment
So the charset="foo" is stripped away and we get the string as it is
supposed to be presented to the user.
2013-10-27 22:28:28 +01:00
Michael Natterer 2fa41c1e4e devel-docs: update docs for libgimpwidgets 2013-10-27 22:17:18 +01:00
Michael Natterer 7ded498aea devel-docs: update docs for libgimpconfig 2013-10-27 22:13:50 +01:00
Michael Natterer e3ad4c34da devel-docs: update docs for libgimpcolor 2013-10-27 22:11:46 +01:00
Michael Natterer 31412a357f devel-docs: update docs for libgimpmath 2013-10-27 22:08:12 +01:00
Michael Natterer a89744c88f devel-docs: update docs for libgimpbase 2013-10-27 22:06:21 +01:00
Michael Natterer 573a8513a5 libgimpbase: add API docs to libgimpbase/gimpmetadata.c 2013-10-27 21:13:51 +01:00
Michael Natterer 4bc77a3123 libgimp: add API docs to libgimp/gimpmetadata.c 2013-10-27 19:42:48 +01:00
Michael Natterer 940d615218 plug-ins: trust the PSD's resolution over its metadata's resolution 2013-10-27 19:01:22 +01:00
Michael Natterer 7752873add plug-ins: trust the TIFF's resolution over its metadata's resolution
This also sortof addresses bug #691231, but fixes the issue only
indirectly by not perferring the EXIF resolution.
2013-10-27 18:52:46 +01:00
Michael Natterer c8fae1957f plug-ins: trust the TIFF's resolution over its metadata's resolution 2013-10-27 18:40:09 +01:00
Michael Natterer 658d950c6b plug-ins: trust the PNG's resolution over its metadata's resolution 2013-10-27 18:36:06 +01:00
Michael Natterer 0b8e59c84e libgimpbase: fix typos in gimpmetadata.c 2013-10-27 16:32:26 +01:00
Michael Natterer a44e06d059 plug-ins: reverse the logic for setting GimpMetadataSaveFlags
start with flags = ALL (which now includes all possible current and
future flags), and optionally *remove* individual flags instead of
adding them. This way the plug-ins default to TRUE for future flags.
2013-10-27 15:38:42 +01:00
Michael Natterer 7cbe83d911 libgimp,plug-ins: split metadata loading into prepare() and finish()
So the plug-in has the chance to decide whether it wants to trust the
metadata information (e.g. resolution). Also reorder parameters in
gimp_image_metadata_save_finish(). Change all plug-ins accordingly.
2013-10-27 15:22:35 +01:00
Ville Pätsi 605144ff57 INSTALL: Mention gexiv2 as a required dependency 2013-10-27 13:20:30 +02:00
Michael Natterer 74fb601ec4 libgimp: properly sort gimpui.def 2013-10-27 02:18:57 +02:00
Michael Natterer d4885510e8 libgimp: fix typo in Makefile.am 2013-10-27 02:00:47 +02:00