expo optimize with quality option

#1

I trying to optimize my assets with expo optimize but i can’t pass quality param (60 is too low)
The command “expo optimize --quality=80 --save” fail with message “error: unknown option `–quality’”
How can use it?
Thanks

#2

Hey @shork,

As far as I’m aware passing in quality isn’t an option right now. I passed this along to the engineer who built out the optimize command to get their thoughts on making this possible.

Cheers,
Adam

#3

Ok thanks Adam

#4

Hey @shork,

Thanks for opening this issue! We actually made this change early last week but didn’t end up publishing the latest changes to npm until yesterday.

So you should be able to install the latest version of expo-cli (npm install -g expo-cli) and try again. Let me know if you run into any other issues.

Thanks,
Sergei

#5

Yes now it work fine!
Thanks

1 Like