# PSTricks and opacity with gradient filling

As a follow-up to the fundamental question Opacity and transparency, I'm wondering if it is possible to use opacity effectively in PSTricks with a gradient filling. The MWE provided by the answer to the post linked above does not work when the filling is switched to a gradient. I'm compiling following the chain latex -> dvips -> ps2pdf.

\documentclass{article}

\begin{document}

\begin{pspicture}(-2,-2)(2,2)
\psline[linecolor=blue,linewidth=12pt](-2,-2)(2,2)
%\psframe[fillstyle=solid,fillcolor=red,opacity=0.5](-1,-1)(1,1)
\end{pspicture}

\end{document}


\documentclass{article}
\usepackage{pstricks,pst-slpe}

\begin{document}

\begin{pspicture}(-2,-2)(2,2)
\psline[linecolor=blue,linewidth=12pt](-2,-2)(2,2)