Commit Graph

3529 Commits

Author SHA1 Message Date
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
297ff1ea0f plug-ins: port file-csource to GIO 2013-11-29 00:05:38 +01:00
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
a57636b874 plug-ins: use gimp_unit_is_metric() in file-tiff-save 2013-11-17 21:12:24 +01:00
d86f98c18a plug-ins: port file-pix to GIO 2013-11-17 18:18:18 +01:00
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
c41c2452c5 app,pdb: add a compatibility wrapper for contrast-stretch-hsv
... and remove the old plugin
2013-11-16 16:50:49 +01:00
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
120e9ccf39 app,pdb: add a compatibility wrapper to contrast-stretch
... and remove the old plug-in
2013-11-15 19:12:56 +01:00
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
d0f7e713bb lcms: avoid dereferencing null pointers 2013-11-07 12:20:33 +01:00
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
7bd4d2678a configure, plug-ins, modules: make lcms a hard dependency 2013-11-03 21:19:51 +01:00
a76460f497 configure, plug-ins: make libpng a hard dependency 2013-11-02 17:11:21 +01:00
3508079dcf plug-ins: add loading and saving of the image's resolution in file-pcx 2013-11-01 13:51:31 +01:00
ba7acdb901 plug-ins: port colormap-remap to GEGL 2013-10-31 12:24:40 +01:00
8db3b4312d Global EXIF -> Exif string change (official spelling) 2013-10-29 22:48:46 +01:00
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
b60cfac840 plug-ins: move the metadata plug-in from File to Image 2013-10-29 17:37:49 +01:00
c8fae1957f plug-ins: trust the TIFF's resolution over its metadata's resolution 2013-10-27 18:40:09 +01:00
658d950c6b plug-ins: trust the PNG's resolution over its metadata's resolution 2013-10-27 18:36:06 +01:00
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
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
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
30a389866a plug-ins: use image/jp2 for JPEG 2000, procedures can only have one mime-type 2013-10-22 20:36:12 +02:00
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
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
7de6bb8173 plug-ins: fix progress fractions in file-pat-save 2013-10-04 18:36:27 +02:00
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
7b638d72f6 plug-ins: animation-play gets the image palette for no reason. 2013-10-04 21:33:18 +13:00
01db58f6d0 plug-ins: cleanup in file-pnm 2013-10-03 22:06:24 +02:00
aa7e9edc36 plug-ins: port file-p*m-save to GIO 2013-10-03 21:44:24 +02:00
ec82d075b8 plug-ins: port file-pnm-load to GIO 2013-10-03 19:59:54 +02:00
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
8e25b5407d plug-ins,pdb: Add a compatibility wrapper for noise-hsv
... and remove the old plugin
2013-09-26 19:31:13 +02:00
f3b7d23494 fix typo in message 2013-09-26 13:25:37 +02:00
af3c2f820d Revert "fix typo in message" that pushes too much - sorry
This reverts commit 0b4b8da05f.
2013-09-26 13:09:50 +02:00
0b4b8da05f fix typo in message 2013-09-26 12:09:34 +02:00
7f93fbc19a app: only one mnemonic letter per filter 2013-09-26 11:31:43 +02:00
5063aada1d plug-ins,pdb: Add compatibility wrappers for mosaic
and remove the old plug-in
2013-09-23 15:52:08 +02:00
4caa5a113f Bug 677275 - Mosaic Filter produces ugly artifacts
Fix this by using a real point-segment distance.
Some artifacts remains though, they must come from somewhere else.
2013-09-22 16:27:57 +02:00
cd4d5e6d32 plug-ins: Use the standardized value for deflate compression in tiff-save.
Ironically, the standardized value is called COMPRESSION_ADOBE_DEFLATE,
while the vendor-specific value is called COMPRESSION_DEFLATE.
2013-09-20 19:12:44 -04:00
34c50b0fea app, plug-ins: Don't modify iter->length
The new by-row iteration doesn't re-write the length
value for each row. In general it is not safe to modify
the iterator data because the internal logic depends
on the public data, but this specific case is new.
2013-09-12 17:43:54 -07:00
6fefd5af0c plugins: Add compat wrappers for plasma.c
... and remove the old plugin.
2013-09-13 01:30:29 +02:00
d38f209e2f plug-ins - compress the PNG comment when over a given size. 2013-09-12 12:54:22 +12:00
d69b748692 Bug 707755 - reviewing PNG comment saving algorithm
Currently PNG "comment" is saved in iTXt (UTF-8) if supported, tEXt
(ISO-8859-1) otherwise. The problem is that some software out there like
ImageMagick would apparently only read tEXt comments.
Therefore the replacing algorithm is:
1/ if we would not lose any character in a conversion from UTF-8 to
ISO-8859-1, we save in tEXt, whether or not the platform supports iTXt.
2/ if we would lose comment data in the conversion while iTXt is
supported, we save in iTXt.
3/ if iTXt is not supported, we save in tEXt anyway and discard any
non-convertible character, unless the finale result is an empty string
(in which case, we don't save any comment).
2013-09-12 12:54:13 +12:00
af0cfacfb3 Bug 707354 - Bump Map offsets only go to 1000 regardless of image size
Allow ranges from -10000 to 10000, still arbitrary but more
real-world. The scales still go -1000 to 1000, but the spinbuttons
allow for the full range.
2013-09-03 16:03:16 +02:00
14ab0da020 plug-ins: rename file-raw to file-raw-data
to remove confusion with raw digital camera files.
2013-09-01 20:02:56 +02:00
3b0bb94162 plug-ins: port file-raw to GEGL 2013-09-01 13:18:17 +02:00
1bd183c54c plug-ins: any GIMP image must be deleted when animation-play exits.
Other allocated data is allright because it is freed when the process
exits, but not GEGL buffers created with gimp_image_new(), because they
are managed by the main GIMP process. Otherwise the plugin would leak
GeglBuffers each time it is closed.
2013-08-31 16:12:16 +12:00