write to generic ImageSinks and PacketSinks