Commit Graph

7065 Commits

Author SHA1 Message Date
Kevin Cozens a7e24a64b7 Fixed an error in the close-port function. Closes bug #719396. 2013-12-02 19:46:18 -05:00
Michael Natterer 56cdf642fc Bug 719662 - plug-in-borderaverage returns a garbage alpha value
Return a fully opaque color instead of a random-memory alpha value.
2013-12-01 23:00:24 +01:00
Michael Natterer 297ff1ea0f plug-ins: port file-csource to GIO 2013-11-29 00:05:38 +01:00
Michael Natterer 4a121c9872 plug-ins: save the metadata of the original image in file-png-save
not the one of the export duplicate.
2013-11-21 21:46:34 +01:00
Michael Natterer a57636b874 plug-ins: use gimp_unit_is_metric() in file-tiff-save 2013-11-17 21:12:24 +01:00
Michael Natterer d86f98c18a plug-ins: port file-pix to GIO 2013-11-17 18:18:18 +01:00
Michael Natterer cecd3fb057 plug-ins: use the same compat loading code in file-gih and file-gbr
It was the same before, but now it's even more consistent.
2013-11-17 14:52:27 +01:00
Téo Mazars c41c2452c5 app,pdb: add a compatibility wrapper for contrast-stretch-hsv
... and remove the old plugin
2013-11-16 16:50:49 +01:00
Michael Natterer ea81787250 plug-ins: load very old files again in file-gih
By porting the compat loading code from 2.8, it somehow got lost
during the GEGL or GIO porting.
2013-11-16 09:43:54 +01:00
Téo Mazars 120e9ccf39 app,pdb: add a compatibility wrapper to contrast-stretch
... and remove the old plug-in
2013-11-15 19:12:56 +01:00
Michael Natterer 03df8c6af4 plug-ins: pass the format's name again in calls to gimp_export_image()
and clean up the formatting of the call and the lines around it. Now
we can check the various (disabled) export options for regressions
again by changing a single line in gimp_export_image().
2013-11-10 00:18:48 +01:00
Nils Philippsen 4664c1f479 file-bmp: don't close foreign FD in ReadImage() 2013-11-08 14:02:03 +01:00
Nils Philippsen a9376443d7 file-jpeg: fix operator precedence errors 2013-11-07 12:20:34 +01:00
Nils Philippsen 6467fbf65d file-bmp: don't leak file pointer when erroring out 2013-11-07 12:20:34 +01:00
Nils Philippsen d0f7e713bb lcms: avoid dereferencing null pointers 2013-11-07 12:20:33 +01:00
Marco Ciampa 7d6f1cbc59 Small fix for Exif correct write form. 2013-11-06 15:54:57 +01:00
Michael Natterer 8812abee0a plug-ins: save the metadata of the orig_image_ID in file-jpeg-save
The image_ID might be an export image and already deleted.
2013-11-05 08:49:40 +01:00
Michael Natterer 961d03d795 Bug 709857 - Lcms plugin crashes if RGB profile does not exist
Always check the return value of lcms_load_profile(config->rgb_profile)
and use the builtin sRGB profile if it returns NULL.
2013-11-04 23:17:41 +01:00
Michael Natterer 7bd4d2678a configure, plug-ins, modules: make lcms a hard dependency 2013-11-03 21:19:51 +01:00
Michael Natterer 771293d402 configure, plug-ins: make libjpeg a hard dependency 2013-11-02 22:33:19 +01:00
Michael Natterer a76460f497 configure, plug-ins: make libpng a hard dependency 2013-11-02 17:11:21 +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 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 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
Michael Natterer b60cfac840 plug-ins: move the metadata plug-in from File to Image 2013-10-29 17:37:49 +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 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
Michael Natterer ce2822d58f plug-ins: remove the old metadata plug-in 2013-10-27 01:15:37 +02:00
Hartmut Kuhse 21bed1e2fb Completely rewrite metadata handling using gexiv2
Based on original patches from Hartmut Kuhse and modified
by Michael Natterer. Changes include:

- remove libexif dependency and add a hard dependency on gexiv2
- typedef GExiv2Metadata to GimpMetadata to avoid having to
  include gexiv2 globally
- add basic GimpMetadata handling functions to libgimpbase
- add image and image file specific metadata functions to libgimp,
  including the exif orientation image rotate dialog
- port plug-ins to use the new APIs
- port file-tiff-save's UI to GtkBuilder
- add new plug-in "metadata" to view the image's metadata
- keep metadata around as GimpImage member in the core
- update the image's metadata on image size, resolution and precision
  changes
- obsolete the old metadata parasites
- migrate the old parasites to new GimpMetadata object on XCF load
2013-10-27 01:02:17 +02:00
Michael Natterer 30a389866a plug-ins: use image/jp2 for JPEG 2000, procedures can only have one mime-type 2013-10-22 20:36:12 +02:00
Michael Natterer a6a07dd29e plug-ins: allow non-optional extra libs in plug-ins/common
Don't make adding extra libs defined in 'libs => foo' depend
on 'optional => 1'.
2013-10-19 18:30:29 +02:00
Michael Natterer a80146c84b plug-ins: follow policy and only include <libgimp/gimp.h> in help 2013-10-15 22:41:45 +02:00
Michael Natterer 54ead10b57 plug-ins: simplify the file-jpeg file size displaying code
and display errors returned by g_file_query_info().
2013-10-12 18:53:03 +02:00
Téo Mazars f3d40dceec plug-ins,pdb: Add a compatibility wrapper for lens-distortion
... and remove the old plug-in
2013-10-11 08:48:09 +02:00
Michael Natterer 1f21a28770 Bug 703065 - Jpeg file size preview error is back
Use GIO to get the file size.
2013-10-05 00:14:14 +02:00
Michael Natterer 7de6bb8173 plug-ins: fix progress fractions in file-pat-save 2013-10-04 18:36:27 +02:00
Jehan e78c3bf3da plug-ins: the frame image in animation-play is always in RGB.
We don't care what the original image type is, because non-RGB images
(in particular indexed ones) render very badly.
gimp_layer_new_from_drawable() will automatically convert the original
layer's type to the destination image's type (RGB) while copying.
2013-10-04 23:53:03 +13:00
Jehan 7b638d72f6 plug-ins: animation-play gets the image palette for no reason. 2013-10-04 21:33:18 +13:00
Michael Natterer 01db58f6d0 plug-ins: cleanup in file-pnm 2013-10-03 22:06:24 +02:00
Michael Natterer aa7e9edc36 plug-ins: port file-p*m-save to GIO 2013-10-03 21:44:24 +02:00
Michael Natterer ec82d075b8 plug-ins: port file-pnm-load to GIO 2013-10-03 19:59:54 +02:00
Hartmut Kuhse 4a6cfd15d1 Prevents compiling error of double definition when linked to libgexiv2 2013-10-03 13:36:59 +02:00
Téo Mazars e1fe2e35cb plug-ins,pdb: Add a compatibility wrapper for edge-laplace
... and remove the old plug-in
2013-10-01 17:10:31 +02:00