You're question kinda lack context so sorry if my answer doesn't help.
The option you're looking for could be named something like:
- interpolation: none
- (min|max)_filter: nearest
- optimize-contrast // this one is the weirdest O.o
depending on software/framework/engine/library you use.
e.g. in opengl it is:
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_NEAREST); glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_NEAREST);