0

My project uses a lot of pictures and I need to make a preview for them. My problem is that some of them are really small (16x16 pixels) so when I stretch them in a picturebox, it will look very blur. I would like to be able to see the actual pixels like this (example in Paint):

enter image description here

Instead of this:

enter image description here

I tried to resize it with few methods but none worked for me.

dllhell
  • 1,987
  • 3
  • 34
  • 51
Dev Catalin
  • 1,265
  • 11
  • 25
  • I think it is because of compression type used in your image format. if you save the 16x16 image in bmp format and stretch it and save it also in bmp format no bluring will occur. – Hamid Pourjam Aug 09 '15 at 07:35
  • The zoom mode of the PictureBox will always use anti-aliasing. You need to do the resizing yourself, see the link above! – TaW Aug 09 '15 at 08:18
  • Thanks TaW! :) That helped me – Dev Catalin Aug 09 '15 at 10:00

0 Answers0