Planquer 1 fichier dans une image jpg
mardi 15 septembre 2015 à 10:53Oros links
cat img1.jpg > yo.jpg
echo -e "\n" >> yo.jpg
cat img2.jpg >> yo.jpg
taille img1 :
taille_img1=$((`cat img1.jpg | wc -l` + 1))
taille img2 :
taille_img2=$((`cat img2.jpg | wc -l` + 1))
récup img1 :
head -n $taille_img1 yo.jpg > new_img1.jpg
récup img2 :
tail -n $taille_img2 yo.jpg > new_img2.jpg
:-)
(Permalink) (Profil)
cat img1.jpg > yo.jpg
echo -e "\n" >> yo.jpg
cat img2.jpg >> yo.jpg
taille img1 :
taille_img1=$((`cat img1.jpg | wc -l` + 1))
taille img2 :
taille_img2=$((`cat img2.jpg | wc -l` + 1))
récup img1 :
head -n $taille_img1 yo.jpg > new_img1.jpg
récup img2 :
tail -n $taille_img2 yo.jpg > new_img2.jpg
:-)
(Permalink) (Profil)