Changes between Initial Version and Version 3 of Ticket #340


Ignore:
Timestamp:
Dec 11, 2009, 10:28:02 AM (14 years ago)
Author:
pracine
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #340

    • Property Owner changed from pracine to mloskot
    • Property Status newassigned
    • Property Versiontrunk
  • Ticket #340 – Description

    initial v3  
    22[wiki:WKTRaster/PlanningAndFunding roadmap]
    33
    4  ''to be discussed here''
     4As stated at the end of the comment 5 of the "Specification Comments following the Code Sprint" section of the working specifications, this function should be a PL/pgSQL wrapper around a more general ST_AsImage(format, params) function using GDAL to convert any raster to an image.
     5
     6The function should return a bytea.
     7
     8This function is particularly sensible to the number of band present in the raster as it normally needs 3 band (r,g,b).
     9
     10It is also very sensible to the pixel type of the raster since JPEG supports only values in the 0-255 range.
     11
     12See the working specifications for more details/questions.
     13
     14Priority should be given to these variants:
     15
     16ST_AsJPEG(raster, integer)
     17ST_AsJPEG(raster, integer, integer, integer, integer)
     18ST_AsJPEG(raster, integer, "GRAYSCALE", integer, min, max, text)