Move code using the 'kovidgoyal/imaging' package to separate files to make it easier to create alternative implementations based on build tags.
Move code using the 'kovidgoyal/imaging' package to separate files to make it easier to create alternative implementations based on build tags.