DotNetNewsgroup.com  
web access to complete list of Microsoft.NET newsgroups
   home   |   control panel login   |   archive  |  
 
  carried group
academic
adonet
aspnet
aspnet.announcements
aspnet.buildingcontrols
aspnet.caching
aspnet.datagridcontrol
aspnet.mobile
aspnet.security
aspnet.webcontrols
aspnet.webservices
assignment_manager
datatools
dotnet.distributed_apps
dotnet.general
dotnet.myservices
dotnet.nternationalization
dotnet.scripting
dotnet.security
dotnet.vjsharp
dotnet.vsa
dotnet.xml
dotnetfaqs
framework
framework.clr
framework.compactframework
framework.component_services
framework.controls
framework.databinding
framework.drawing
framework.enhancements
framework.interop
framework.odbcnet
framework.performance
framework.remoting
framework.sdk
framework.setup
framework.webservices
framework.windowsforms
framework.wmi
frwk.windowsforms.designtime
lang.csharp
lang.jscript
lang.vb
lang.vb.controls
lang.vb.data
lang.vb.upgrade
lang.vc
lang.vc.libraries
  
 
start date: Sun, 1 Jul 2007 22:16:29 -0400,    posted on: microsoft.public.dotnet.framework.drawing        back       

Thread Index
  1    active
          2    active


Do you get a Palette when you input a .gif file?   
What do you get when you do:

InputImage = Image.FromStream(...

and the file is a .gif

Is InputImage.Palette the palette of the gif file.

I ask because I always find it to be Nothing

But the InputImage displays OK as a Bitmap



Thanks



If that is not the .gif palette is that something in Dotnet to get the 
bitmap?
Date:Sun, 1 Jul 2007 22:16:29 -0400   Author:  

Re: Do you get a Palette when you input a .gif file?   
I checked this out with one of Powel's programs and the answer is: yes
" active"  wrote in message 
news:e4%23iA8EvHHA.1204@TK2MSFTNGP03.phx.gbl...

> What do you get when you do:
>
> InputImage = Image.FromStream(...
>
> and the file is a .gif
>
> Is InputImage.Palette the palette of the gif file.
>
> I ask because I always find it to be Nothing
>
> But the InputImage displays OK as a Bitmap
>
>
>
> Thanks
>
>
>
> If that is not the .gif palette is that something in Dotnet to get the 
> bitmap?
>
>
>
>
>
>
>
>
>
>
>
>
>
> 
Date:Sun, 1 Jul 2007 22:41:09 -0400   Author:  

Google
 
Web dotnetnewsgroup.com


COPYRIGHT ?2005, EUROFRONT WORLDWIDE LTD., ALL RIGHT RESERVE  |   Contact us