Eunpyoung Kim
Eunpyoung Kim
from 57b939e84e340818523ae189e35a43fe533331a8 that function already modified pass readable. https://github.com/netpyoung/unity.webp/blob/57b939e84e340818523ae189e35a43fe533331a8/unity_project/Assets/unity.webp/Runtime/Texture2DExt.cs#L191 There still exists function which make force readable - https://github.com/netpyoung/unity.webp/blob/57b939e84e340818523ae189e35a43fe533331a8/unity_project/Assets/unity.webp/Runtime/Texture2DExt.cs#L335 but I will fix that later
Sorry It seems linking error on my build script(maybe... I don't have mac now, So I'm not sure..) Here is build script what I used. - https://github.com/netpyoung/unity.webp/blob/master/Rakefile#L89 If I have...
That is problem to using webp on unity. Unity's texture need to flip updown. To archive that flip like that https://github.com/netpyoung/unity.webp/blob/76a58b03aadc57a3d9d22e21a04dd4bd83566136/unity_project/Assets/example4/EncodeToWebP.cs#L61 or using advanced config with WebPEncode API https://developers.google.com/speed/webp/docs/api
well sorry I didn't managed issues on here. > play unity gives me an error It will be helpful to debug which has bug. > how can i convert jpg...
There is optimizable point. instead of that using `new byte` or `new Texture2D`, make a function which passing texture2d as argument to prevent new allocation. https://github.com/netpyoung/unity.webp/blob/76a58b03aadc57a3d9d22e21a04dd4bd83566136/unity_project/Assets/unity.webp/Texture2DExt.cs#L115 https://github.com/netpyoung/unity.webp/blob/76a58b03aadc57a3d9d22e21a04dd4bd83566136/unity_project/Assets/unity.webp/Texture2DExt.cs#L185
I updated code to using byte array as buffer. Could you check that? https://github.com/netpyoung/unity.webp/blob/bf2212ff2c87cb23874ef8ff6b58762171582873/unity_project/Assets/example/Example.cs#L19
It needs to reuse bytearraypool. and you can reuse texture2d instance if image size is fixed. and turn off mipmap. and use `Task` to background load.  ``` cs void...
@umresh Could you try using task for background work? and If you have any good idea to handle it please pull request!
@aicuo4614 Thank you for raise the issue. Could you explain it in more detail?
Thank you for reporting that. I also reproduce that bug using Hyper-V( host: Windows10 - x64 ) and figured out using [lucasg/Dependencies](https://github.com/lucasg/Dependencies) The problem of that is missing depenency `VCRUNTIME140.dll`...