[mapserver-users] TIFFs and ECWs rasters get a monochrome output - why?

Alexander Gleyzer agleyzer@bezeqint.net
Tue, 24 Sep 2002 22:17:03 +0200


This is a multi-part message in MIME format.

------=_NextPart_000_0021_01C26418.1BEC9F40
Content-Type: text/plain;
	charset="windows-1255"
Content-Transfer-Encoding: quoted-printable

Thanks, Anders!
That actually worked, the ECWs are now displayed in color.

BTW, regarding the TIFFs, I tried some program which converts them to 8 =
bit - and now they
also show up in color. So that all the problems are solved.

Thank you all, also Andrew Hallan.

Alexander Gleyzer.
  ----- Original Message -----=20
  From: Anders Knudstrup Hansen LE34=20
  To: Alexander Gleyzer ; mapserver-users@lists.gis.umn.edu=20
  Sent: Tuesday, September 24, 2002 8:21 AM
  Subject: SV: [mapserver-users] TIFFs and ECWs rasters get a monochrome =
output - why?


  I've seen this behaviour too..... I've found out that it depends on =
whether or not I have a Class object in my layers (I have one tileindex =
layer). If i remove the class object my ecw's show up in color, and if I =
add a class object they show up in black/white... (I actually use this =
as a feature, since most of my ecw images look ugly in color)....
  =20
  Hope this helps.
  =20
  / Anders
    -----Oprindelig meddelelse-----
    Fra: Alexander Gleyzer [mailto:agleyzer@bezeqint.net]
    Sendt: 23. september 2002 23:28
    Til: mapserver-users@lists.gis.umn.edu
    Emne: [mapserver-users] TIFFs and ECWs rasters get a monochrome =
output - why?


    Hi!

    I'm using MapServer raster layers to present large background =
images.
    When I got to large TIFFs (>200 MB) the server displayed an error =
message (unsupported image format or smth.).
    I tried to download the GDAL support version (precompiled Win-32 =
binaries),
    which also supports ECW (I have those TIFFs compressed to ECWs).
    But when I fired it up - all the output turned out black-and-white, =
never mind the output format (GIF, JPG, PNG)!
    Why is that happening? Is there a way to normally present large =
TIFFs or their ECW equivalents?

    Thanks!
    =20
    Alexander Gleyzer.

    =20

------=_NextPart_000_0021_01C26418.1BEC9F40
Content-Type: text/html;
	charset="windows-1255"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Dwindows-1255" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2920.0" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Thanks, Anders!</FONT></DIV>
<DIV><FONT face=3D"Arial (Hebrew)" size=3D2>That actually worked, the =
ECWs are now=20
displayed in color.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3D"Arial (Hebrew)" size=3D2>BTW, regarding the TIFFs, I =
tried some=20
program which converts them to 8 bit - and now they</FONT></DIV>
<DIV><FONT face=3D"Arial (Hebrew)" size=3D2>also show up in color. So =
that all the=20
problems are solved.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3D"Arial (Hebrew)" size=3D2>Thank you all, also Andrew=20
Hallan.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3D"Arial (Hebrew)" size=3D2>Alexander =
Gleyzer.</FONT></DIV>
<BLOCKQUOTE dir=3Dltr=20
style=3D"BORDER-LEFT: #000000 2px solid; MARGIN-LEFT: 5px; MARGIN-RIGHT: =
0px; PADDING-LEFT: 5px; PADDING-RIGHT: 0px">
  <DIV style=3D"FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV=20
  style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: =
black"><B>From:</B>=20
  <A href=3D"mailto:akh@le34.dk" title=3Dakh@le34.dk>Anders Knudstrup =
Hansen=20
  LE34</A> </DIV>
  <DIV style=3D"FONT: 10pt arial"><B>To:</B> <A=20
  href=3D"mailto:agleyzer@bezeqint.net" =
title=3Dagleyzer@bezeqint.net>Alexander=20
  Gleyzer</A> ; <A href=3D"mailto:mapserver-users@lists.gis.umn.edu"=20
  =
title=3Dmapserver-users@lists.gis.umn.edu>mapserver-users@lists.gis.umn.e=
du</A>=20
  </DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Tuesday, September 24, =
2002 8:21=20
  AM</DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Subject:</B> SV: [mapserver-users] =
TIFFs and=20
  ECWs rasters get a monochrome output - why?</DIV>
  <DIV><BR></DIV>
  <DIV><SPAN class=3D153261706-24092002><FONT color=3D#0000ff =
face=3DArial size=3D2>I've=20
  seen this behaviour too..... I've found out that it depends on whether =
or not=20
  I have a Class object in my layers (I have one tileindex layer). If i =
remove=20
  the class object my ecw's show up in color, and if I add a class =
object they=20
  show up in black/white... (I actually use this as a feature, since =
most of my=20
  ecw images look ugly in color)....</FONT></SPAN></DIV>
  <DIV><SPAN class=3D153261706-24092002><FONT color=3D#0000ff =
face=3DArial=20
  size=3D2></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=3D153261706-24092002><FONT color=3D#0000ff =
face=3DArial size=3D2>Hope=20
  this helps.</FONT></SPAN></DIV>
  <DIV><SPAN class=3D153261706-24092002><FONT color=3D#0000ff =
face=3DArial=20
  size=3D2></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=3D153261706-24092002><FONT color=3D#0000ff =
face=3DArial size=3D2>/=20
  Anders</FONT></SPAN></DIV>
  <BLOCKQUOTE dir=3Dltr=20
  style=3D"BORDER-LEFT: #0000ff 2px solid; MARGIN-LEFT: 5px; =
MARGIN-RIGHT: 0px; PADDING-LEFT: 5px">
    <DIV align=3Dleft class=3DOutlookMessageHeader dir=3Dltr><FONT =
face=3DTahoma=20
    size=3D2>-----Oprindelig meddelelse-----<BR><B>Fra:</B> Alexander =
Gleyzer=20
    [mailto:agleyzer@bezeqint.net]<BR><B>Sendt:</B> 23. september 2002=20
    23:28<BR><B>Til:</B> =
mapserver-users@lists.gis.umn.edu<BR><B>Emne:</B>=20
    [mapserver-users] TIFFs and ECWs rasters get a monochrome output -=20
    why?<BR><BR></FONT></DIV>
    <DIV><FONT face=3DArial size=3D2>Hi!</FONT></DIV>
    <DIV>&nbsp;</DIV>
    <DIV><FONT face=3D"Arial (Hebrew)" size=3D2>I'm using MapServer =
raster layers to=20
    present large background images.</FONT></DIV>
    <DIV><FONT face=3D"Arial (Hebrew)" size=3D2>When I got to large =
TIFFs (&gt;200=20
    MB) the server displayed an error message (unsupported image format =
or=20
    smth.).</FONT></DIV>
    <DIV><FONT face=3D"Arial (Hebrew)" size=3D2>I tried to download the =
GDAL support=20
    version (precompiled Win-32 binaries),</FONT></DIV>
    <DIV><FONT face=3D"Arial (Hebrew)" size=3D2>which also supports ECW =
(I have=20
    those TIFFs compressed to ECWs).</FONT><FONT face=3D"Arial (Hebrew)" =

    size=3D2></FONT></DIV>
    <DIV><FONT face=3D"Arial (Hebrew)" size=3D2>But when I fired it up - =
all the=20
    output turned out black-and-white, never mind the output format =
(GIF, JPG,=20
    PNG)!</FONT></DIV>
    <DIV><FONT face=3D"Arial (Hebrew)" size=3D2>Why is that happening? =
Is there a=20
    way to normally present large TIFFs or their ECW =
equivalents?</FONT></DIV>
    <DIV>&nbsp;</DIV>
    <DIV><FONT face=3D"Arial (Hebrew)" size=3D2>Thanks!</FONT></DIV>
    <DIV><FONT color=3D#0000ff face=3DArial size=3D2></FONT>&nbsp;</DIV>
    <DIV><FONT face=3D"Arial (Hebrew)" size=3D2>Alexander =
Gleyzer.</FONT></DIV>
    <DIV>&nbsp;</DIV>
    <DIV><FONT color=3D#0000ff face=3DArial=20
size=3D2></FONT>&nbsp;</DIV></BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>

------=_NextPart_000_0021_01C26418.1BEC9F40--