After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 486977 - Add PDB procedure to scale an image with given interpolation
Add PDB procedure to scale an image with given interpolation
Status: RESOLVED FIXED
Product: GIMP
Classification: Other
Component: libgimp
git master
Other All
: Normal enhancement
: 2.6
Assigned To: GIMP Bugs
GIMP Bugs
Depends on:
Blocks: 101604
 
 
Reported: 2007-10-15 22:15 UTC by Serge Gavrilov
Modified: 2008-09-24 17:12 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Serge Gavrilov 2007-10-15 22:15:16 UTC
As I understand bug #477218 is not a bug, but a feature related with another anti-aliasing approach, I mean supersampling. 

So only the possible way to scale an image in script exactly in the same way as Image/Scale does, is gimp-image-scale, which uses the default interpolation. The default interpolation cannot be changed within a script, so in all my scripts I must use the same interpolation and change this preference manually when needed.
It is not very useful.

I suggest to add new PDB procedure similar to gimp-image-scale but allowing one to use explicitly given interpolation.

Thanks.
Comment 1 Sven Neumann 2008-08-04 21:46:37 UTC
gimp-drawable-transform-scale allows you to scale the individual layers. This is not quite as comfortable as scaling the image in one go, but for most use cases it should be good enough. Without a patch and any progress on this request, let's close it as WONTFIX.
Comment 2 Serge Gavrilov 2008-09-05 07:14:44 UTC
Please, reopen the bug according to #550783. Thanks!
Comment 3 Sven Neumann 2008-09-24 17:12:20 UTC
2008-09-24  Sven Neumann  <sven@gimp.org>

        * tools/pdbgen/pdb/layer.pdb
        * tools/pdbgen/pdb/image.pdb: added new scale procedures that
        allow to specify the interpolation explicitly. Fixes bug #486977.