Trip of the lineas and join images


(http://4232.cf) #1

I want to convert some series of images in use alone for load in http.
They form cutting a linea of each image and join in serie.

https://cs.stanford.edu/people/karpathy/convnetjs/demo/cifar10.html


(G'MIC staff) #2
gmic cifar10_batch1.png resize 32,32,1000,3,-1 split z output cifar.png

will generate 1000 numbered cifar_00xxxx.png color images.


(http://4232.cf) #3

And to do the reverse effect?


(G'MIC staff) #4
gmic cifar_000*.png append z resize 1024,1000,1,3,-1 output cifar_batch.png

(http://4232.cf) #5

thanks :smiley: