• Michael Natterer's avatar
    Add new virtual function GimpDrawable::convert_type() · 86a264e9
    Michael Natterer authored
    This may look like duplication of GimpItem::convert() but in fact will
    fix the longstanding uglyness that GimpItem::convert() both transfers
    an item to another image *and* converts the image type of drawables.
    When this refactoring is done, GimpItem::convert() will only move an
    item to another image, and its implementation in GimpDrawable classes
    will call GimpDrawable::convert_type() to convert the pixels to
    whatever format.
    
    Takes a "dest_image" parameter anyway because for converting to
    indexed we need the destination colormap. The default impl in
    GimpDrawable can only convert to gray and rgb however.
    86a264e9
Name
Last commit
Last update
..
actions Loading commit data...
base Loading commit data...
composite Loading commit data...
config Loading commit data...
core Loading commit data...
dialogs Loading commit data...
display Loading commit data...
file Loading commit data...
gegl Loading commit data...
gui Loading commit data...
menus Loading commit data...
paint Loading commit data...
paint-funcs Loading commit data...
pdb Loading commit data...
plug-in Loading commit data...
tests Loading commit data...
text Loading commit data...
tools Loading commit data...
vectors Loading commit data...
widgets Loading commit data...
xcf Loading commit data...
.gitignore Loading commit data...
Makefile.am Loading commit data...
about.h Loading commit data...
app.c Loading commit data...
app.h Loading commit data...
batch.c Loading commit data...
batch.h Loading commit data...
errors.c Loading commit data...
errors.h Loading commit data...
fileicon.ico Loading commit data...
gimp-intl.h Loading commit data...
gimp-log.c Loading commit data...
gimp-log.h Loading commit data...
gimp.rc Loading commit data...
gimpcore.def Loading commit data...
main.c Loading commit data...
makefile.msc Loading commit data...
sanity.c Loading commit data...
sanity.h Loading commit data...
signals.c Loading commit data...
signals.h Loading commit data...
tests.c Loading commit data...
tests.h Loading commit data...
unique.c Loading commit data...
unique.h Loading commit data...
units.c Loading commit data...
units.h Loading commit data...
version.c Loading commit data...
version.h Loading commit data...
wilber.ico Loading commit data...