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: Thu, 23 Aug 2007 05:00:34 -0700,    posted on: microsoft.public.dotnet.languages.csharp        back       

Thread Index
  1    Piotrekk


Can't get colorpalette from some images   
Hi

I am trying to get color palette of image and change it:

Image tmpImg = pictureBox1.Image;
// Here tmpImg.Palette sometimes has 0 entries and sometimes has some
entries

However when i debug it i can see that Palette has zero entries for
some images
Does anyone of you know what could be the problem?

Iam trying to get color palette of:

http://mion.elka.pw.edu.pl/~pkolodzi/1.jpg

and change it to:

http://mion.elka.pw.edu.pl/~pkolodzi/2.bmp

On the above example:
Iam able to get color palette of the BMP file here - and unable for
JPG. In different example i CAN get palette of JPG and cant - BMP.

Thanks
PK
Date:Thu, 23 Aug 2007 05:00:34 -0700   Author:  

Google
 
Web dotnetnewsgroup.com


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