pixel conversion and cleanups with skel