16,021,211 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Visual Basic questions
View Javascript questions
View .NET questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Quintec (Top 3 by date)
Quintec
25-Mar-11 7:40am
View
In this case, it doesnt allow you to do many things you can do in GIF files, such as repeating colours in palette (could be really useful in many cases) or recolorize an image in a smart way. For example, it was common to create for example a car image carefully choosing its palette, in such a way, that chainging a section of the palete the car can change its colour without affecting anything else and with a realistic output.
Yesterday I leart the basics of PHP, and I achieved to do what Im asking in less than one hour. ¿how could it be that a powerfull language doesnt allow it?
PHP Function:
bool imagesetpixel ( resource $image , int $x , int $y , int $IndexColor )
imagesetpixel() draws a pixel at the specified coordinate with its associated color in the palette
There should be an alternative way to achieve it in .NET... Thanks anyways for your coment :-)
Quintec
24-Mar-11 16:35pm
View
I know that .NET comes with an image library, but it is missing (or at least, i cant find it) the functionality i am asking about, write/retrieve pixel values according to its index value in the colour table, instead of doing so in RGB.
Anyone? :-)
Quintec
24-Mar-11 16:34pm
View
I started thinking in the same way, that there is no way of doing so in .NET, but it seems hard to believe that such a powerful technology doesnt allow to obtain the actual pixel value (the palette index) of an indexed image.
Thanks for you response, but I still hope someone can write an alternative to do it :-). And yes, it is for hidding text, but not for malicius purposes :)