JPEG strings aren't null terminated, there is no need to include the null byte. For reference ImageMagick doesn't do this.