Added support for reading/writing Adobe Photoshop gradients with FG/BG colors.
Should work in theory, but I have no way to test it at the moment.