Added custom pixel operations