How to change format of texture at runtime

Hi, guys!

I need to change the color of the texture at runtime, the initial idea is according to the original texture of each pixel RGB values to calculate their own an HSL, then change the H value and then calculate the corresponding RGB values, but in the use GetPixels () to obtain the original texture of the RGB values, pop-up prompts “Unsupported texture format - needs to be ARGB32, RGBA32, BGRA32, RGB24, Alpha8 or DXT”, and my problem is although I can set the format in the import Settings, but the format of the texture size is very big, obviously not suitable for generating atlas. So I want to change format of texture from automatic compressed to argb32 or others at runtime. But I couldn’t find the corresponding method. :frowning: (I have already implemented the conversion method between RGB and HSL)

So, any ideas ? thanks advance

No one knows?

Maybe the people who know are still sleeping? Expecting the community to give you an answer inside 2 hours is a bit optimistic.

Well, the first post, is ignorance.Time is too long, no one replay me.The post is sinking.