Opened 2 years ago

Closed 2 years ago

#6081 closed defect (fixed)

GDALCreateWarpedVRT() ignores nDstAlphaBand

Reported by: Even Rouault Owned by: Even Rouault
Priority: normal Milestone: 2.0.1
Component: GDAL_Raster Version: unspecified
Severity: normal Keywords: vrt warp overview alpha
Cc:

Description

When GDALCreateWarpedVRT() is called with options that adds a target alpha band, it ignores it and creates only a VRTWarped dataset with psOptions->nBandCount bands instead of psOptions->nBandCount+1

The issue has always existed but is now visible with the concept of implicit overviews in warped VRT, where that issue cause a crash

Change History (1)

comment:1 Changed 2 years ago by Even Rouault

Milestone: 2.0.1
Resolution: fixed
Status: newclosed

trunk r29768, branches/2.0 r29769 "VRT warp: fix crash with implicit overviews and destination alpha band (#6081)"

Note: See TracTickets for help on using tickets.