Fix API behaviour when a pixel crashed
Add resizing capabilities
Add resizin example