Displaying turned out to be simple.
" active" <activeNOSPAM@a-znet.com> wrote in message
news:%23nD0wtuxHHA.3400@TK2MSFTNGP03.phx.gbl...
>
> "Bob Powell [MVP]" <bob@_spamkiller_.bobpowell.net> wrote in message
> news:OCt2VUsxHHA.4916@TK2MSFTNGP04.phx.gbl...
>> Changing the size will almost definitely result in changing the palette
>> so the reults may be less than stellar.
>
> Why wouldn't the original palette work OK? Won't the colors be very
> similar to the original?
>
> Also, I wasn't clear. I don't need to save it, just display it. If that
> makes any difference to your answer. Can I simply convert the new image
> to 8-bits - how - I believe I can't draw it into an 8-bit bitmap?
>
>
> thanks
>
>
>>
>> I would load the image, Create a 24 bit image of the new size, draw the 8
>> bit to the new image, calculate a new palette for the 24bit image and
>> then save the new image as 8 bit using the new palette.
>>
>> See the articles in the FAQ about GIF palettes.
>>
>> --
>> Bob Powell [MVP]
>> Visual C#, System.Drawing
>>
>> Ramuseco Limited .NET consulting
>>
http://www.ramuseco.com >>
>> Find great Windows Forms articles in Windows Forms Tips and Tricks
>>
http://www.bobpowell.net/tipstricks.htm >>
>> Answer those GDI+ questions with the GDI+ FAQ
>>
http://www.bobpowell.net/faqmain.htm >>
>> All new articles provide code in C# and VB.NET.
>> Subscribe to the RSS feeds provided and never miss a new article.
>>
>>
>>
>> " active" <activeNOSPAM@a-znet.com> wrote in message
>> news:OjfXmQnxHHA.276@TK2MSFTNGP06.phx.gbl...
>>>I need to change the size of an Format8bppIndexed image.
>>>
>>> I suppose I could change the format and scale it and put it back.
>>>
>>> But I'm wondering if there is a more straight forward way.
>>>
>>>
>>> How would you change the size of a Format8bppIndexed bitmap?
>>>
>>>
>>> Thanks
>>>
>>
>>
>
>