Attempt to rewrite tweakpng tool in Qt for it to be cross-platform