Help solve this problem: - I load the picture "dds" by connecting the "DevIL.dll".

System.Drawing.Bitmap Loadddsimage = DevIL.DevIL.LoadBitmap(@"C:\a\test.dds"); 

There are a lot of icons in this file - about 2000 pieces, but they are glued together.

The width will be ~ 80, the height is possible even in two more. The size of each picture is approximately 16x16.

I want to place the cut images either in a file, or in the same picturebox , with borders or indents between them.

I have no idea this can be implemented?

  • all pictures of the same size? glued without gaps? - Grundy
  • Yes, all the same size. And there are no gaps. - Berianidze Luka
  • In a cycle by the number of pictures, draw them in a separate image that you save to a file - Grundy
  • The tip is logical. But if I had known it would have been easy for me to create a cycle. Can you have a place to read on this topic? - Berianidze Luka

0