Schema
public
Owner
albenard
Descriptions
args: rast, nband, options=NULL - Return the raster tile selected bands as a single Joint Photographic Exports Group (JPEG) image (byte array). If no band is specified and 1 or more than 3 bands, then only the first band is used. If only 3 bands then all 3 bands are used and mapped to RGB.
Options
Option | Value |
---|---|
Returns |
bytea |
Language |
sql |
Parameters |
rast public.raster nband integer options text [] = NULL::text[] |
Definition
CREATE OR REPLACE FUNCTION public.st_asjpeg (
rast public.raster,
nband integer,
options text [] = NULL::text[]
)
RETURNS bytea AS
$span$
SELECT st_asjpeg(st_band($1, $2), $3)
$span$
LANGUAGE 'sql'
IMMUTABLE
CALLED ON NULL INPUT
SECURITY INVOKER
COST 100;
COMMENT ON FUNCTION public.st_asjpeg(rast public.raster, nband integer, options text [])
IS 'args: rast, nband, options=NULL - Return the raster tile selected bands as a single Joint Photographic Exports Group (JPEG) image (byte array). If no band is specified and 1 or more than 3 bands, then only the first band is used. If only 3 bands then all 3 bands are used and mapped to RGB.';
This file was generated with SQL Manager for PostgreSQL (www.pgsqlmanager.com) at 26/02/2014 11:51 |