$ convert * +append result.png
.first {
width: 16px;
height: 16px;
background: url(/result-sprite.png) 0 0;
}
.second {
width: 16px;
height: 16px;
background: url(/result-sprite.png) 0 -16px;
}
$ identify -format "%g - %f\n" *
800x600+0+0 - IMG_2568.JPG
800x600+0+0 - IMG_2569.JPG
800x600+0+0 - IMG_2572.JPG
800x600+0+0 - IMG_2573.JPG
800x600+0+0 - IMG_2574.JPG
800x600+0+0 - IMG_2592.JPG
800x600+0+0 - IMG_2593.JPG
500x376+0+0 - P2110006.JPG
500x375+0+0 - P2110008.JPG
Source: https://habr.com/ru/post/114118/
All Articles