Check-out the codes by Grisu here
this part paste a smaller pixmap onto a larger one
this part paste a smaller pixmap onto a larger one
If FileType("iconstrip.png")=0 Then Global Fullpixmap:TPixmap=CreatePixmap(((MAXFOLGEN)*ICONSIZE),ICONSIZE,PF_BGR888,1) Local tmppixmap:TPixmap For Local i:Int=0 To MAXFOLGEN-1 tmppixmap=LoadPixmap("0.jpg") '96x96 Pixel icon! fullpixmap.paste(ResizePixmap(tmppixmap,ICONSIZE-2,ICONSIZE-2),1+i*ICONSIZE,1) Next SavePixmapPNG(fullpixmap, "iconstrip.png",9 ) EndIf