Filter codes for electronic images