Hi, i didn't try it before you offered this simple command for converting hpi images but i tried now and it didn't work, i got this message
mogrify: no decode delegate for this image format `000204_4345_1092_oslp.hpi' @ constitute.c/ReadImage/530.
i think it is because of the structure of hpi image format, it is a special format.
i found a link about it (it is a cached webpage, it doesn't actually exist now, thanks to google)
i just need to repeat my command with all file names in a directory, rather than converting just a single image.
actually my question is not about a specific format, it is about bash scripting. in other words how can i make a list of files in a directory and use them.
"perl hpi2png.pl /home/user/path/input.hpi /home/user/path/output.png"
i need to change "input.hpi" with every file name and give a related output name instead of "output.png". my question is how can i recursively do it.
thanks in advance