xwd(1)?
In reply to Re: Is Win32::Screenshot work with linux ? by jklowden in thread Is Win32::Screenshot work with linux ? by vinothje