Ignore encoding errors because they doesn't matter
Bug related to pixel formats, the array was being overwritten
Merge branch 'master' into bugfixes