Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How To convert existing jpg file to .bytes format or webp format? #28

Open
Nameless77 opened this issue Dec 31, 2020 · 1 comment
Open

Comments

@Nameless77
Copy link

i successfully import your plugin in and i have a jpg image which i want to convert to webp file but when ever i upload my file on an online converter and convert jpg to webp and then export it into unity and press play unity gives me an error and which is:
->NullReferenceException: Object reference not set to an instance of an object
and when i see your files in Resources folder it is webp.bytes.so how can i convert jpg files to webp.bytes?
can you please tell me.
and i also have a question and that is i heard that webp images can reduce apk build size.so is that true?

@netpyoung
Copy link
Owner

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 files to webp.bytes
convert .jpg to .webp image then change file extension to .bytes.

webp images can reduce apk build size.so is that true?
unity compress image files antoher file format pvrtc, astc .. .even use jpg. that file format also compressed image but some people use more compressive algorithm like webp which hardware accelerated doesn't support

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants