Getting color data from inlined image