This Smath visit offers pixelation by add/remove [up/down sampling].
Real pixelation is mostly based on the Fourier cross padding [Read first].
Pixelation works best for undestroyed images [*.PNG, *.BMP ...].
Pixelation applied to *.JPEG is a non sense: reinvent pixels that were removed.
Fourier/Lanczos is another improved procedure [I don't have the code].
As well, pixelation via "CreateMesh" is a good tool. Smath "CreateMesh"
is not suitable immediately ... it might become, later.
Jean
Image Zoom Explain Fourier Padding.sm (470 KiB) downloaded 46 time(s).Image Fourier Zoom Explained_0.sm (939 KiB) downloaded 36 time(s).Image Fourier Zoom Explained_1.sm (931 KiB) downloaded 36 time(s).