graphic: refactor code
graphic: refactor code, add util/openFileOrCreate()
graphic: refactor code, split functions
graphic: remove ClipPNG(), ConvertToPNG()