PaletteGetColorsCount returns 0
PaletteGetColorsCount returns 0
Hi
For jpg 24 bits color image, PaletteGetColorsCount returns me 0.
ImageID = oGdPictureImaging.CreateGdPictureImageFromFile(FVCF_ImageTampon)
Trace(oGdPictureImaging.PaletteGetColorsCount(ImageID)) => give 0
Why ?
Thanks.
For jpg 24 bits color image, PaletteGetColorsCount returns me 0.
ImageID = oGdPictureImaging.CreateGdPictureImageFromFile(FVCF_ImageTampon)
Trace(oGdPictureImaging.PaletteGetColorsCount(ImageID)) => give 0
Why ?
Thanks.
Re: PaletteGetColorsCount returns 0
Hello,
Because your image has no color palette.
Let me know if you need further information.
Kind regards,
Loïc
Because your image has no color palette.
Let me know if you need further information.
Kind regards,
Loïc
Re: PaletteGetColorsCount returns 0
Hi !
Thanks for answer.
Actually i want to have the color numbers of a image. Is this the good method ?
Isn't palette color the same thing that the colours count of the picture ?
Thanks
Thanks for answer.
Actually i want to have the color numbers of a image. Is this the good method ?
Isn't palette color the same thing that the colours count of the picture ?
Thanks
Re: PaletteGetColorsCount returns 0
Hello Greg,
We don't have such feature to count the number of unique colors in a bitmap. That said, we have implemented it for the next medium release that will be published within 5 days max. The name of the new method will be "CountUniqueColors()"
With best regards,
Loïc
We don't have such feature to count the number of unique colors in a bitmap. That said, we have implemented it for the next medium release that will be published within 5 days max. The name of the new method will be "CountUniqueColors()"
With best regards,
Loïc
Re: PaletteGetColorsCount returns 0
Perfect !
Have a nice day.
Sincerly yours.
Have a nice day.
Sincerly yours.
Re: PaletteGetColorsCount returns 0
Hi Loïc.
Have you please some news for the next release ?
Thanks.
Have a nice week end.
Sincerly yours.
Have you please some news for the next release ?
Thanks.
Have a nice week end.
Sincerly yours.
Re: PaletteGetColorsCount returns 0
Hello Greg,
We've got an unexpected and unusual additional delay to produce the 9.4. But good new: it will be available on next Monday or on next Tuesday!
Have a nice week end too.
Cheers!
We've got an unexpected and unusual additional delay to produce the 9.4. But good new: it will be available on next Monday or on next Tuesday!
Have a nice week end too.
Cheers!
Who is online
Users browsing this forum: No registered users and 2 guests