pngquant
pngquant copied to clipboard
Any way to use this library on iOS with Swift
as the title says, is there any possible solution to use this library on a iOS device with Swift?
Thanks in advance
Yes.
You can call it via Objective C or C bridging header in Swift. Add C files to your project and include the h file. Calls are documented here https://pngquant.org/lib
Please note that Apple doesn't like GPL in the app store, but you can get AppStore compatible license here https://supso.org/projects/pngquant
@Danny182 were you able to make that work? I'm also interested in use it in an ios app
I didn’t try since it’s GPL