Abstract In this paper we look at the potential of program specialization techniques in the context of visualization. In particular we look at partial evaluation and pass separation and how these have been used to automatically produce more efficient implementations and how they can be used to design new algorithms. We conclude by discussing what we think are the applications were program specialization is most promising in visualization.