trim unexpected extra pixels from the result, also don't round floats until as late as possible
trim unexpected extra pixels from the result, also don't round floats until as late as possible

adobe-photoshop/generator-core