Removes unused jpeg