Opened 17 years ago

Closed 17 years ago

#2263 closed defect (fixed)

Raster Display with OFFSITE and RESAMPLE with AGG

Reported by: flavio Owned by: warmerdam
Priority: normal Milestone: 5.0 release
Component: GDAL Support Version: 5.0
Severity: normal Keywords: Offsite Resample agg
Cc: tbonfort

Description (last modified by warmerdam)

If one uses OFFSITE and RESAMPLE result has a rendom background color (tested on a 1-bit raster image):

IMAGETYPE AGG_JPEG

OUTPUTFORMAT
  NAME 'AGG_JPEG'
  DRIVER AGG/JPEG
  IMAGEMODE RGB
  FORMATOPTION "QUANTIZE_FORCE=ON"
  FORMATOPTION "QUANTIZE_DITHER=OFF"
  FORMATOPTION "QUANTIZE_COLORS=256"
END


LAYER
	NAME "Rasterkarten 1:10'000"
	TYPE RASTER
	STATUS ON
	DATA 'raster/b3310.tif'
	OFFSITE 255 255 255
	PROCESSING "RESAMPLE=AVERAGE"
	PROJECTION
	  "init=world:CH1903"
	END
END

Attachments (1)

screen.gif (195.6 KB ) - added by flavio 17 years ago.
Screen Shot of TILEINDEX

Download all attachments as: .zip

Change History (4)

by flavio, 17 years ago

Attachment: screen.gif added

Screen Shot of TILEINDEX

comment:1 by warmerdam, 17 years ago

Owner: changed from Frank Warmerda to warmerdam

comment:2 by warmerdam, 17 years ago

Cc: tbonfort added
Description: modified (diff)
Keywords: agg added
Milestone: 5.0 release

comment:3 by tbonfort, 17 years ago

Resolution: fixed
Status: newclosed

should be fixed in r6706

please reopen if not

Note: See TracTickets for help on using tickets.