Solved

set palette after canvas-lineto

Posted on 2000-03-07
2
291 Views
Last Modified: 2010-04-04
After I Image1->Canvas->LineTo(100,100),
the palette is truecolor,
I set the palette to 16 colors,
and savetofile(a.bmp)
,I dump the a.bmp,
but the file is not 16 colors.
Why?
How can I setup the palette after
I had drawed something?
0
Comment
Question by:mathematics
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 

Accepted Solution

by:
sunsetyang earned 5 total points
ID: 2594166
You should change the image's
pixelformat property to acquire
what you need.
0
 

Author Comment

by:mathematics
ID: 2595219
Good! I will test.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Delphi Spellcheck in Webbrowser 1 50
Intraweb download file link ? 1 167
How to Get Images From Server using App Tethering 11 42
DBCtrlGrid, Delphi, Scroll 8 59
A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question