• 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
..
.gitignore Loading commit data...
Makefile.am Loading commit data...
core-enums.c Loading commit data...
core-enums.h Loading commit data...
core-types.h Loading commit data...
gimp-contexts.c Loading commit data...
gimp-contexts.h Loading commit data...
gimp-edit.c Loading commit data...
gimp-edit.h Loading commit data...
gimp-gradients.c Loading commit data...
gimp-gradients.h Loading commit data...
gimp-gui.c Loading commit data...
gimp-gui.h Loading commit data...
gimp-modules.c Loading commit data...
gimp-modules.h Loading commit data...
gimp-parasites.c Loading commit data...
gimp-parasites.h Loading commit data...
gimp-tags.c Loading commit data...
gimp-tags.h Loading commit data...
gimp-templates.c Loading commit data...
gimp-templates.h Loading commit data...
gimp-transform-region.c Loading commit data...
gimp-transform-region.h Loading commit data...
gimp-transform-resize.c Loading commit data...
gimp-transform-resize.h Loading commit data...
gimp-transform-utils.c Loading commit data...
gimp-transform-utils.h Loading commit data...
gimp-units.c Loading commit data...
gimp-units.h Loading commit data...
gimp-user-install.c Loading commit data...
gimp-user-install.h Loading commit data...
gimp-utils.c Loading commit data...
gimp-utils.h Loading commit data...
gimp.c Loading commit data...
gimp.h Loading commit data...
gimparea.c Loading commit data...
gimparea.h Loading commit data...
gimpbrush-header.h Loading commit data...
gimpbrush-load.c Loading commit data...
gimpbrush-load.h Loading commit data...
gimpbrush-transform.c Loading commit data...
gimpbrush-transform.h Loading commit data...
gimpbrush.c Loading commit data...
gimpbrush.h Loading commit data...
gimpbrushclipboard.c Loading commit data...
gimpbrushclipboard.h Loading commit data...
gimpbrushgenerated-load.c Loading commit data...
gimpbrushgenerated-load.h Loading commit data...
gimpbrushgenerated-save.c Loading commit data...
gimpbrushgenerated-save.h Loading commit data...
gimpbrushgenerated.c Loading commit data...
gimpbrushgenerated.h Loading commit data...
gimpbrushpipe-load.c Loading commit data...
gimpbrushpipe-load.h Loading commit data...
gimpbrushpipe.c Loading commit data...
gimpbrushpipe.h Loading commit data...
gimpbuffer.c Loading commit data...
gimpbuffer.h Loading commit data...
gimpchannel-combine.c Loading commit data...
gimpchannel-combine.h Loading commit data...
gimpchannel-project.c Loading commit data...
gimpchannel-project.h Loading commit data...
gimpchannel-select.c Loading commit data...
gimpchannel-select.h Loading commit data...
gimpchannel.c Loading commit data...
gimpchannel.h Loading commit data...
gimpchannelpropundo.c Loading commit data...
gimpchannelpropundo.h Loading commit data...
gimpchannelundo.c Loading commit data...
gimpchannelundo.h Loading commit data...
gimpcontainer-filter.c Loading commit data...
gimpcontainer-filter.h Loading commit data...
gimpcontainer.c Loading commit data...
gimpcontainer.h Loading commit data...
gimpcontext.c Loading commit data...
gimpcontext.h Loading commit data...
gimpcoords-interpolate.c Loading commit data...
gimpcoords-interpolate.h Loading commit data...
gimpcoords.c Loading commit data...
gimpcoords.h Loading commit data...
gimpcurve-load.c Loading commit data...
gimpcurve-load.h Loading commit data...
gimpcurve-map.c Loading commit data...
gimpcurve-map.h Loading commit data...
gimpcurve-save.c Loading commit data...
gimpcurve-save.h Loading commit data...
gimpcurve.c Loading commit data...
gimpcurve.h Loading commit data...
gimpdashpattern.c Loading commit data...
gimpdashpattern.h Loading commit data...
gimpdata.c Loading commit data...
gimpdata.h Loading commit data...
gimpdatafactory.c Loading commit data...
gimpdatafactory.h Loading commit data...
gimpdocumentlist.c Loading commit data...
gimpdocumentlist.h Loading commit data...
gimpdrawable-blend.c Loading commit data...
gimpdrawable-blend.h Loading commit data...
gimpdrawable-brightness-contrast.c Loading commit data...
gimpdrawable-brightness-contrast.h Loading commit data...
gimpdrawable-bucket-fill.c Loading commit data...
gimpdrawable-bucket-fill.h Loading commit data...
gimpdrawable-color-balance.c Loading commit data...
gimpdrawable-color-balance.h Loading commit data...
gimpdrawable-colorize.c Loading commit data...
gimpdrawable-colorize.h Loading commit data...
gimpdrawable-combine.c Loading commit data...
gimpdrawable-combine.h Loading commit data...
gimpdrawable-convert.c Loading commit data...
gimpdrawable-convert.h Loading commit data...
gimpdrawable-curves.c Loading commit data...
gimpdrawable-curves.h Loading commit data...
gimpdrawable-desaturate.c Loading commit data...
gimpdrawable-desaturate.h Loading commit data...
gimpdrawable-equalize.c Loading commit data...
gimpdrawable-equalize.h Loading commit data...
gimpdrawable-foreground-extract.c Loading commit data...
gimpdrawable-foreground-extract.h Loading commit data...
gimpdrawable-histogram.c Loading commit data...
gimpdrawable-histogram.h Loading commit data...
gimpdrawable-hue-saturation.c Loading commit data...
gimpdrawable-hue-saturation.h Loading commit data...
gimpdrawable-invert.c Loading commit data...
gimpdrawable-invert.h Loading commit data...
gimpdrawable-levels.c Loading commit data...
gimpdrawable-levels.h Loading commit data...
gimpdrawable-offset.c Loading commit data...
gimpdrawable-offset.h Loading commit data...
gimpdrawable-operation.c Loading commit data...
gimpdrawable-operation.h Loading commit data...
gimpdrawable-posterize.c Loading commit data...
gimpdrawable-posterize.h Loading commit data...
gimpdrawable-preview.c Loading commit data...
gimpdrawable-preview.h Loading commit data...
gimpdrawable-private.h Loading commit data...
gimpdrawable-process.c Loading commit data...
gimpdrawable-process.h Loading commit data...
gimpdrawable-shadow.c Loading commit data...
gimpdrawable-shadow.h Loading commit data...
gimpdrawable-stroke.c Loading commit data...
gimpdrawable-stroke.h Loading commit data...
gimpdrawable-threshold.c Loading commit data...
gimpdrawable-threshold.h Loading commit data...
gimpdrawable-transform.c Loading commit data...
gimpdrawable-transform.h Loading commit data...
gimpdrawable.c Loading commit data...
gimpdrawable.h Loading commit data...
gimpdrawablemodundo.c Loading commit data...
gimpdrawablemodundo.h Loading commit data...
gimpdrawablestack.c Loading commit data...
gimpdrawablestack.h Loading commit data...
gimpdrawableundo.c Loading commit data...
gimpdrawableundo.h Loading commit data...
gimperror.c Loading commit data...
gimperror.h Loading commit data...
gimpfilloptions.c Loading commit data...
gimpfilloptions.h Loading commit data...
gimpfilteredcontainer.c Loading commit data...
gimpfilteredcontainer.h Loading commit data...
gimpfloatingselundo.c Loading commit data...
gimpfloatingselundo.h Loading commit data...
gimpgradient-load.c Loading commit data...
gimpgradient-load.h Loading commit data...
gimpgradient-save.c Loading commit data...
gimpgradient-save.h Loading commit data...
gimpgradient.c Loading commit data...
gimpgradient.h Loading commit data...
gimpgrid.c Loading commit data...
gimpgrid.h Loading commit data...
gimpgrouplayer.c Loading commit data...
gimpgrouplayer.h Loading commit data...
gimpgrouplayerundo.c Loading commit data...
gimpgrouplayerundo.h Loading commit data...
gimpguide.c Loading commit data...
gimpguide.h Loading commit data...
gimpguideundo.c Loading commit data...
gimpguideundo.h Loading commit data...
gimpimage-arrange.c Loading commit data...
gimpimage-arrange.h Loading commit data...
gimpimage-colorhash.c Loading commit data...
gimpimage-colorhash.h Loading commit data...
gimpimage-colormap.c Loading commit data...
gimpimage-colormap.h Loading commit data...
gimpimage-contiguous-region.c Loading commit data...
gimpimage-contiguous-region.h Loading commit data...
gimpimage-convert-data.h Loading commit data...
gimpimage-convert-fsdither.h Loading commit data...
gimpimage-convert.c Loading commit data...
gimpimage-convert.h Loading commit data...
gimpimage-crop.c Loading commit data...
gimpimage-crop.h Loading commit data...
gimpimage-duplicate.c Loading commit data...
gimpimage-duplicate.h Loading commit data...
gimpimage-flip.c Loading commit data...
gimpimage-flip.h Loading commit data...
gimpimage-grid.c Loading commit data...
gimpimage-grid.h Loading commit data...
gimpimage-guides.c Loading commit data...
gimpimage-guides.h Loading commit data...
gimpimage-item-list.c Loading commit data...
gimpimage-item-list.h Loading commit data...
gimpimage-merge.c Loading commit data...
gimpimage-merge.h Loading commit data...
gimpimage-new.c Loading commit data...
gimpimage-new.h Loading commit data...
gimpimage-pick-color.c Loading commit data...
gimpimage-pick-color.h Loading commit data...
gimpimage-preview.c Loading commit data...
gimpimage-preview.h Loading commit data...
gimpimage-quick-mask.c Loading commit data...
gimpimage-quick-mask.h Loading commit data...
gimpimage-resize.c Loading commit data...
gimpimage-resize.h Loading commit data...
gimpimage-rotate.c Loading commit data...
gimpimage-rotate.h Loading commit data...
gimpimage-sample-points.c Loading commit data...
gimpimage-sample-points.h Loading commit data...
gimpimage-scale.c Loading commit data...
gimpimage-scale.h Loading commit data...
gimpimage-snap.c Loading commit data...
gimpimage-snap.h Loading commit data...
gimpimage-undo-push.c Loading commit data...
gimpimage-undo-push.h Loading commit data...
gimpimage-undo.c Loading commit data...
gimpimage-undo.h Loading commit data...
gimpimage.c Loading commit data...
gimpimage.h Loading commit data...
gimpimagefile.c Loading commit data...
gimpimagefile.h Loading commit data...
gimpimagemap.c Loading commit data...
gimpimagemap.h Loading commit data...
gimpimagemapconfig.c Loading commit data...
gimpimagemapconfig.h Loading commit data...
gimpimageundo.c Loading commit data...
gimpimageundo.h Loading commit data...
gimpitem-linked.c Loading commit data...
gimpitem-linked.h Loading commit data...
gimpitem-preview.c Loading commit data...
gimpitem-preview.h Loading commit data...
gimpitem.c Loading commit data...
gimpitem.h Loading commit data...
gimpitempropundo.c Loading commit data...
gimpitempropundo.h Loading commit data...
gimpitemstack.c Loading commit data...
gimpitemstack.h Loading commit data...
gimpitemundo.c Loading commit data...
gimpitemundo.h Loading commit data...
gimplayer-floating-sel.c Loading commit data...
gimplayer-floating-sel.h Loading commit data...
gimplayer-project.c Loading commit data...
gimplayer-project.h Loading commit data...
gimplayer.c Loading commit data...
gimplayer.h Loading commit data...
gimplayermask.c Loading commit data...
gimplayermask.h Loading commit data...
gimplayermaskpropundo.c Loading commit data...
gimplayermaskpropundo.h Loading commit data...
gimplayermaskundo.c Loading commit data...
gimplayermaskundo.h Loading commit data...
gimplayerpropundo.c Loading commit data...
gimplayerpropundo.h Loading commit data...
gimplayerundo.c Loading commit data...
gimplayerundo.h Loading commit data...
gimplist.c Loading commit data...
gimplist.h Loading commit data...
gimpmarshal.list Loading commit data...
gimpmaskundo.c Loading commit data...
gimpmaskundo.h Loading commit data...
gimpobject.c Loading commit data...
gimpobject.h Loading commit data...
gimppaintinfo.c Loading commit data...
gimppaintinfo.h Loading commit data...
gimppalette-import.c Loading commit data...
gimppalette-import.h Loading commit data...
gimppalette-load.c Loading commit data...
gimppalette-load.h Loading commit data...
gimppalette-save.c Loading commit data...
gimppalette-save.h Loading commit data...
gimppalette.c Loading commit data...
gimppalette.h Loading commit data...
gimpparamspecs-desc.c Loading commit data...
gimpparamspecs-desc.h Loading commit data...
gimpparamspecs-duplicate.c Loading commit data...
gimpparamspecs-duplicate.h Loading commit data...
gimpparamspecs.c Loading commit data...
gimpparamspecs.h Loading commit data...
gimpparasitelist.c Loading commit data...
gimpparasitelist.h Loading commit data...
gimppattern-header.h Loading commit data...
gimppattern-load.c Loading commit data...
gimppattern-load.h Loading commit data...
gimppattern.c Loading commit data...
gimppattern.h Loading commit data...
gimppatternclipboard.c Loading commit data...
gimppatternclipboard.h Loading commit data...
gimppdbprogress.c Loading commit data...
gimppdbprogress.h Loading commit data...
gimppickable.c Loading commit data...
gimppickable.h Loading commit data...
gimppreviewcache.c Loading commit data...
gimppreviewcache.h Loading commit data...
gimpprogress.c Loading commit data...
gimpprogress.h Loading commit data...
gimpprojectable.c Loading commit data...
gimpprojectable.h Loading commit data...
gimpprojection-construct.c Loading commit data...
gimpprojection-construct.h Loading commit data...
gimpprojection.c Loading commit data...
gimpprojection.h Loading commit data...
gimpsamplepoint.c Loading commit data...
gimpsamplepoint.h Loading commit data...
gimpsamplepointundo.c Loading commit data...
gimpsamplepointundo.h Loading commit data...
gimpscanconvert.c Loading commit data...
gimpscanconvert.h Loading commit data...
gimpselection.c Loading commit data...
gimpselection.h Loading commit data...
gimpstrokeoptions.c Loading commit data...
gimpstrokeoptions.h Loading commit data...
gimpsubprogress.c Loading commit data...
gimpsubprogress.h Loading commit data...
gimptag.c Loading commit data...
gimptag.h Loading commit data...
gimptagcache.c Loading commit data...
gimptagcache.h Loading commit data...
gimptagged.c Loading commit data...
gimptagged.h Loading commit data...
gimptemplate.c Loading commit data...
gimptemplate.h Loading commit data...
gimptoolinfo.c Loading commit data...
gimptoolinfo.h Loading commit data...
gimptooloptions.c Loading commit data...
gimptooloptions.h Loading commit data...
gimptoolpresets.c Loading commit data...
gimptoolpresets.h Loading commit data...
gimptreehandler.c Loading commit data...
gimptreehandler.h Loading commit data...
gimpundo.c Loading commit data...
gimpundo.h Loading commit data...
gimpundostack.c Loading commit data...
gimpundostack.h Loading commit data...
gimpunit.c Loading commit data...
gimpunit.h Loading commit data...
gimpviewable.c Loading commit data...
gimpviewable.h Loading commit data...
makefile.msc Loading commit data...