Commit Graph

7396 Commits

Author SHA1 Message Date
Massimo Valentini 32469d53b7 Bug 684295: wrong layer group structure in gimp 2.8.2...
... (read PSD file from PS CS3)

use a position of 0 when inserting normal layers
as they're always inserted on top of their group

-1 means inside the group when the active drawable is
a group or above it when it's not. This used to work
before layer groups or in simple cases.
2016-01-04 12:55:58 +01:00
Massimo Valentini e79632728d Bug 760029: PSD loader fails to load files with...
... adjustment or fill layers

the length of the compressed channel data was truncated
for the wrong type used in read_channel_data signature
2016-01-04 12:55:58 +01:00
Daniel Sabo e86362e6e4 plug-ins: Attempt to fix Jenkins error in pagecurl 2016-01-02 18:00:50 -08:00
Daniel Sabo ce3a87da38 plug-ins: Fix missing GEXIV2_LIBS for file-tiff 2015-12-29 10:12:36 -08:00
Massimo Valentini 63805dfcf2 Bug 758909: Gimp cannot open some tif files it exports
Clear TIFFTAG_MIN/MAXSAMPLEVALUE because exiv2 saves
them with the wrong type and the original values could
be invalid
2015-12-29 18:47:56 +01:00
Michael Natterer ed042c540a plug-ins: put the pagecurl icons into a resource 2015-12-28 23:54:30 +01:00
Michael Natterer a33daf99fe libgimpcolor: rename RGB and GRAY gimp_color_profile_new_*() functions
to be more consistent, as discussed in bug #756389.
2015-12-15 20:42:21 +01:00
Michael Natterer c64a104155 plug-ins: merge the file-tiff-load and file-tiff-save plug-ins
so they can share duplicated code.
2015-12-05 08:53:09 +01:00
Michael Natterer 48046d258a configure.ac, plug-ins: make libtiff a hard dependency
so file-tiff-load and file-tiff-save are always built. Also move them
to their own folder plug-ins/file-tiff/ because they will soon share
some common GIO code.
2015-12-02 12:33:31 +01:00
Michael Natterer 16a0421894 plug-ins, pdb: remove the blur-gauss-selective plug-in, add a PDB compat proc 2015-11-29 22:01:53 +01:00
Michael Natterer a69b68de40 plug-ins: formatting cleanup in compose/decompose 2015-11-24 23:56:54 +01:00
Elle Stone f78dec232a Bug 755270 - Decompose/Compose LAB: scaling code produces odd L, a, and b values
Decompose/compose to/from LCH: remove unconditional CLAMP (only clamp
if the component really needs clamping), change LAB AB range.
2015-11-24 12:45:32 +01:00
Michael Natterer bc980cd73a Bug 757783 - When opening linear gamma pngs or tiffs...
...many operations give wrong results

Same fix for TIFF: get the color profile first, then create a linear
image if the profile says so.
2015-11-23 22:29:06 +01:00
Michael Natterer 3cc80b0a5c Bug 757783 - When opening linear gamma pngs or tiffs...
...many operations give wrong results

Fix PNG loading to get the embedded profile first, and create a
linear RGB image if the profile says so.
2015-11-23 18:44:17 +01:00
Michael Natterer 4446954e27 Bug 757773 - Filters->Edge Detect->Neon... crashes
As in e3b24af3d0, don't use a
GimpDrawablePreview's GimpDrawable if it was not created using the
deprecated GimpDrawabl-based API. Spotted by Massimo.
2015-11-08 14:15:44 +01:00
Michael Natterer 3f2efc5719 plug-ins: fix the build in screenshot-osx.c 2015-11-08 00:17:38 +01:00
Michael Natterer e4ff6b40da Bug 757687 - Screenshot functionality broken under Wayland
Move OS X and X11 specific code to its own files, to prepare for more
shooting backends being added. Also remove unimplemented G_OS_WIN32
stubs, if anyone feels like implementing a Windows backend, by all
means go ahead.
2015-11-07 22:39:32 +01:00
Sebastian Rasmussen 8212602939 Bug 757745 - selection-to-path: Fix whitespace typo in tooltip 2015-11-07 20:54:04 +01:00
Michael Natterer e1c4314a8e Bug 757687 - Screenshot functionality broken under Wayland
Move the screenshot plug-in to its own directory, it's about to be
split up into multiple files.
2015-11-07 15:52:44 +01:00
Michael Natterer feb0790cc4 plug-ins: file-xmc: use GeglRectangle instead of GimpParamRegion 2015-10-31 19:10:51 +01:00
Michael Natterer eb5094b9f7 plug-ins: decompose: move "run_mode" to a local scope
and some tiny cleanups.
2015-10-25 23:47:43 +01:00
Michael Natterer 0cfd6d2d01 Bug 756701 - Decomposing to HSL produces HSV layers
Fix the name of the decomposed lightness layer to "lightness", it used
to be "value" due to a copy/paste error. Spotted by Massimo.
2015-10-22 20:16:25 +02:00
Michael Natterer 68a9835d56 Bug 756822 - Colors/Desaturate/Luminosity should operate on linear RGB
Add GIMP_DESATURATE_LUMINANCE to enum GimpDesaturateMode and rename
GIMP_DESATURATE_LUMINOSITY to GIMP_DESATURATE_LUMA.

Keep GIMP_DESATURATE_LUMINOSITY as deprecated compat value and add it
to the script-fo and pygimp compat constants.

Change GimpOperationDesaturate to process GIMP_DESATURATE_LUMINANCE
with linear "RGBA float".
2015-10-22 19:50:56 +02:00
Michael Natterer f5f88b8134 plug-ins: fix some compiler warnings in file-xmc
and some minor formatting cleanup.
2015-10-22 19:29:35 +02:00
Michael Natterer 7e62875d48 plug-ins: port file-xwd-save to GIO
and properly format all prototypes in the file.
2015-10-18 14:26:25 +02:00
Michael Natterer 195d5c760b plug-ins: pedantic function reordering in file-header.c 2015-10-17 23:28:45 +02:00
Michael Natterer 940349c564 plug-ins: add the legacy difference of gaussians back to the menus
until we have sorted out the differences to the new GEGL op.
2015-10-14 23:10:03 +02:00
Andrew Worsley cc9c7aa3b3 plug-ins: fix 2 bugs in fractal-trace
- crashes when computing % 0 when selection height < 100
- used y2 instead of x2 when computing width
- crash when selection in lower left corner
2015-10-10 21:43:03 +02:00
Andrew Worsley 24d844c9f1 Bug 155733 - need to check return values of gimp_drawable_mask_bounds()
Remove gimp_drawable_mask_bounds() from color-cube-analyze.c, also add
menu entry to access it.
2015-10-10 17:16:48 +02:00
Louis Benazet e7715dca35 Bug 155733 - need to check return values of gimp_drawable_mask_bounds()
Mask intersect fix for photocopy plug-in.
2015-10-10 17:13:10 +02:00
Andrew Worsley a3f2b1ab68 Bug 155733 - need to check return values of gimp_drawable_mask_bounds()
Remove gimp_drawable_mask_bounds() from border-average.c
2015-10-10 17:07:31 +02:00
Jonathan Tait 3c717ac483 Bug 756030 - file-pdf-save-multi PDB API is mis-specified
file-pdf-save-multi did not honor the PDB array passing standard.
2015-10-08 18:39:20 +02:00
Michael Natterer e3b24af3d0 plug-ins: fix crash in blur-gauss-selective.c
Must not call the deprecated gimp_drawable_preview_get_drawable() on a
preview that was not also created using the deprecated
gimp_drawable_preview_new(). Instead, pass the GimpDrawable to
preview_update() using the signal's user_data.
2015-10-08 12:15:06 +02:00
Michael Natterer b70ffb0c8b plug-ins: some cleanup in the new file-exr ICC profile code 2015-09-20 23:49:38 +02:00
Tobias Ellinghaus d73cfa4a24 plug-ins: support color managed EXR loading
This generates an ICC profile from the embedded white point and
chromaticities on the fly, assuming linear gamma images.
2015-09-20 23:42:24 +02:00
Matt Giuca 07dfe4a5eb plug-ins: Fix generation of the AND mask for 32-bit ICO images
Previously, the mask would be transparent if the alpha was <50%.
However, this causes pixels to become black in some places in Windows
(notably, the taskbar on Windows 10). Therefore, always set the mask
to opaque if a pixel is partially or fully opaque.
2015-09-18 18:58:12 +02:00
Michael Natterer 7f2d5ebbc5 plug-ins: use the new drawable_ID-based GimpAspectPreview API 2015-09-17 00:28:09 +02:00
Jonathan Tait 5b10339c5f Bug 751584 - parasite_list() methods fail if no parasites found
Correct parasite_list() methods.
2015-09-15 09:34:55 +02:00
Michael Natterer e18aae18c2 plug-ins: use the new drawable_ID-based GimpDrawablePreview API 2015-09-15 00:50:16 +02:00
Michael Natterer 9a8878ed6e plug-ins: use the new drawable_ID-based GimpZoomPreview API 2015-09-14 22:16:21 +02:00
Michael Natterer d7b2d1c372 plug-ins: fix file-tiff-load's load_rgb() which I broke two commits earlier 2015-09-13 20:20:35 +02:00
Michael Natterer 9a1f94e9b2 plug-ins: don't add alpha to all but the loaded tiff's background layer
That's not needed any longer.
2015-09-13 20:14:22 +02:00
Michael Natterer 701aff3c8a plug-ins: lots of cleanup in file-tiff-load
Move variables to local scopes, saner variable names, comment
formatting, indentation, whatnot...
2015-09-13 20:12:02 +02:00
Michael Natterer 1243e1f93b Bug 743034 - file-tiff-load crashes if I try to open a BigTIFF file
Use a Babl format that actually exists for extra channels. Makes the
plug-in load black pages from the mentioned "Rome" BigTIFF, so this
only fixes the plug-in crash but doesn't fix loading of BigTIFF
images, whatever they are...
2015-09-13 16:21:35 +02:00
Michael Natterer b430a2d0f6 Bug 750867 - loading of CCiTT4 tiff images broken
Revive and partly reimplement the code that loads indexed and b/w
images. Seems to work on the fax attached to the bug, and on a random
indexed RGB image.
2015-09-13 00:12:42 +02:00
Michael Natterer 67597f42ad Bug 754727 - gimp 2.9.1 git compilation fails in file-psd
Fix some glitches in patches I recently applied blindly :)
2015-09-08 18:54:02 +02:00
Julien Nabet 5a2757c6ec Bug 753986 - manage layer resource block lnsr
Layer name source (id on 4 characters encoded in MacRoman).
psd from PS>5 have "luni" (Layer Unicode)

See https://bugzilla.gnome.org/show_bug.cgi?id=753986#c4 for more details

Janitorial on lyvr:
move IFDBG at the beginning of the function
+change the content of it
2015-09-06 16:57:11 +02:00
Jehan 0593eaa7c3 plug-ins: GEGL buffers leaked when canceling gif export.
Delete the duplicated sanitized image when canceling in the gif options
dialog.
2015-09-04 18:26:35 +02:00
Jehan 6b33491ce4 plug-ins: returned value of gimp_image_get_layers() must be freed. 2015-09-04 18:24:21 +02:00
Michael Natterer a4a0ec9598 plug-ins, pdb: remove the maze plug-in and add a PDB compat proc 2015-09-04 00:34:38 +02:00