Just another fun stuff with PSTricks. Compile the given code with xelatex
because the code use JPEG image with which latex-dvips-ps2pdf
sequence cannot work.
User Defined Data
\def\Rows{5}
\def\Columns{5}
\def\Filename{tutuca.jpeg}%{example-grid-100x100pt}
\def\Scale{1.45}
Output


Complete Code
\documentclass[pstricks,border=12pt]{standalone}
\usepackage{graphicx}
\usepackage{pst-func}
% user defined data
\def\Rows{5}
\def\Columns{5}
\def\Filename{tutuca.jpeg}%{example-grid-100x100pt}
\def\Scale{1.45}
% internal used data
\newsavebox\IBox
\savebox\IBox{\includegraphics[scale=\Scale]{\Filename}}
\def\func{%
\psparametricplot{0}{2.5 .25 exp}{t^2 | 0.8*(sqrt(2.5-t^4)+t)}
\psparametricplot{2.5 .25 exp}{0}{t^2 | 0.8*(-sqrt(2.5-t^4)+t)}
\psparametricplot{0}{2.5 .25 exp}{-t^2 | 0.8*(-sqrt(2.5-t^4)+t)}
\psparametricplot{2.5 .25 exp}{0}{-t^2 | 0.8*(sqrt(2.5-t^4)+t)}
}
\psset
{
xunit=0.5\dimexpr\wd\IBox/\Columns\relax,
yunit=0.5\dimexpr\ht\IBox/\Rows\relax,
algebraic,
plotpoints=500,
}
\begin{document}
\begin{pspicture}[showgrid=top](-\Columns,-\Rows)(\Columns,\Rows)
\rput(0,0){\usebox\IBox}
\pscustom[unit=2cm,origin={0,-0.3},linecolor=yellow]{\func}
\end{pspicture}
\begin{pspicture}[showgrid=false](-\Columns,-\Rows)(\Columns,\Rows)
\psclip{\pscustom[linestyle=none,linewidth=0pt,unit=2cm,origin={0,-0.3}]{\func}}
\rput(0,0){\usebox\IBox}
\endpsclip
\end{pspicture}
\end{document}
$\heartsuit$
instead of ♥ and it worked great. If you put that as an answer i'll accept it.newunicodechar
help?