Commit 3273debfadaa7c620ecb103bd16b0d0b345b0cf6

Authored by Edmar Moretti
1 parent 2583e555

Alteração no OUTPUT format padrão, passando a utilizar o AGG_Q

Showing 2 changed files with 18 additions and 18 deletions   Show diff stats
aplicmap/geral1.map
@@ -26,7 +26,7 @@ MAP @@ -26,7 +26,7 @@ MAP
26 #Esse tipo não é adequado para imagens raster, mas o i3geo muda automaticamente 26 #Esse tipo não é adequado para imagens raster, mas o i3geo muda automaticamente
27 #para png1 quando um arquivo rsater é adicionado ao mapa 27 #para png1 quando um arquivo rsater é adicionado ao mapa
28 # 28 #
29 - IMAGETYPE png2 29 + IMAGETYPE AGG_Q
30 EXTENT -76.5125927 -39.3925675209 -29.5851853 9.49014852081 30 EXTENT -76.5125927 -39.3925675209 -29.5851853 9.49014852081
31 SIZE 480 500 31 SIZE 480 500
32 STATUS ON 32 STATUS ON
@@ -42,14 +42,14 @@ MAP @@ -42,14 +42,14 @@ MAP
42 # IMAGEMODE RGB 42 # IMAGEMODE RGB
43 #END 43 #END
44 #png output, with number of colors reduced with quantization . ( Note: this functionality is not supported with RGBA images, that is outputformats with IMAGEMODE RGBA, or maps with TRANSPARENT ON ) : 44 #png output, with number of colors reduced with quantization . ( Note: this functionality is not supported with RGBA images, that is outputformats with IMAGEMODE RGBA, or maps with TRANSPARENT ON ) :
45 - #OUTPUTFORMAT  
46 - # NAME 'AGG_Q'  
47 - # DRIVER AGG/PNG  
48 - # IMAGEMODE RGB  
49 - # FORMATOPTION "QUANTIZE_FORCE=ON"  
50 - # FORMATOPTION "QUANTIZE_DITHER=OFF"  
51 - # FORMATOPTION "QUANTIZE_COLORS=256"  
52 - #END 45 + OUTPUTFORMAT
  46 + NAME 'AGG_Q'
  47 + DRIVER AGG/PNG
  48 + IMAGEMODE RGB
  49 + FORMATOPTION "QUANTIZE_FORCE=ON"
  50 + FORMATOPTION "QUANTIZE_DITHER=OFF"
  51 + FORMATOPTION "QUANTIZE_COLORS=256"
  52 + END
53 OUTPUTFORMAT 53 OUTPUTFORMAT
54 NAME jpeg 54 NAME jpeg
55 DRIVER GD/JPEG 55 DRIVER GD/JPEG
aplicmap/geral1windows.map
@@ -26,7 +26,7 @@ SYMBOLSET "c:\ms4w\apache\htdocs\i3geo/symbols/simbolos.sym" @@ -26,7 +26,7 @@ SYMBOLSET "c:\ms4w\apache\htdocs\i3geo/symbols/simbolos.sym"
26 #Esse tipo não é adequado para imagens raster, mas o i3geo muda automaticamente 26 #Esse tipo não é adequado para imagens raster, mas o i3geo muda automaticamente
27 #para png1 quando um arquivo rsater é adicionado ao mapa 27 #para png1 quando um arquivo rsater é adicionado ao mapa
28 # 28 #
29 - IMAGETYPE png2 29 + IMAGETYPE AGG_Q
30 EXTENT -76.5125927 -39.3925675209 -29.5851853 9.49014852081 30 EXTENT -76.5125927 -39.3925675209 -29.5851853 9.49014852081
31 SIZE 480 500 31 SIZE 480 500
32 STATUS ON 32 STATUS ON
@@ -41,14 +41,14 @@ SYMBOLSET "c:\ms4w\apache\htdocs\i3geo/symbols/simbolos.sym" @@ -41,14 +41,14 @@ SYMBOLSET "c:\ms4w\apache\htdocs\i3geo/symbols/simbolos.sym"
41 # IMAGEMODE RGB 41 # IMAGEMODE RGB
42 #END 42 #END
43 #png output, with number of colors reduced with quantization . ( Note: this functionality is not supported with RGBA images, that is outputformats with IMAGEMODE RGBA, or maps with TRANSPARENT ON ) : 43 #png output, with number of colors reduced with quantization . ( Note: this functionality is not supported with RGBA images, that is outputformats with IMAGEMODE RGBA, or maps with TRANSPARENT ON ) :
44 - #OUTPUTFORMAT  
45 - # NAME 'AGG_Q'  
46 - # DRIVER AGG/PNG  
47 - # IMAGEMODE RGB  
48 - # FORMATOPTION "QUANTIZE_FORCE=ON"  
49 - # FORMATOPTION "QUANTIZE_DITHER=OFF"  
50 - # FORMATOPTION "QUANTIZE_COLORS=256"  
51 - #END 44 + OUTPUTFORMAT
  45 + NAME 'AGG_Q'
  46 + DRIVER AGG/PNG
  47 + IMAGEMODE RGB
  48 + FORMATOPTION "QUANTIZE_FORCE=ON"
  49 + FORMATOPTION "QUANTIZE_DITHER=OFF"
  50 + FORMATOPTION "QUANTIZE_COLORS=256"
  51 + END
52 OUTPUTFORMAT 52 OUTPUTFORMAT
53 NAME svg 53 NAME svg
54 MIMETYPE "image/svg+xml" 54 MIMETYPE "image/svg+xml"