Nconvert command is a command with many options, you can do many things very interesting here‘ll start a tutorial and ire increasingly añadiendio things.
This command is a command that does is modify images, but good has plenty of utilities, filters etc ..
And you will say to use this command if mtpaint programs like the gimp and a lot more publishers who already do, for the simple answers are as follows.
1) Imagine you want to convert or apply a filter or anything else to 450 images per say a figure found in a directory, make one by one in mtpaint or another editor is a pain, because with a single line of command nconvert vary the 450 files at once and very quickie.
2) If we vary or 450 images we want but each with a different filter or anything else hariamos a script with 450 lines that can be done very easy to copy and paste, and the script would take care of it.
3) If we want to apply a filter or multiple filters on one image or all images you want, but at the same time as any image editor as mtpaint or another, you would have to do first apply a filter and then another and so on with a command line apply all at once.
Well now see What a beautiful and endless combinations of multiple obtainable by combining filters and others.
Hope you hook this command that is a command for the little that deals with size, of many things he does.We can get off NOCONVERT of:
And once we put it down in the directory /usr /binWell let’s do this, if from the terminal you type the following command:
# nconvert -help
We obtain the support of all nconvert command, if we want to save to a file, then better locate and other options can write the following order:
# nconvert > /mnt/home/help_nconvert.txt
Well let’s go see some examples of what we can do with nconvert, we will work with an image in this case halle berry
This what I would do is that all images will grow into jpg png files but these would come out of the original negative. * .jpg is the filter for all the images directory, if they are png * .png, * .tif, etc …Well greetings and see you in the next post … .. I hope you liked it.This what I would do is that all images will grow into jpg png files but these would come out of the original negative. * .jpg is the filter for all the images directory, if they are png * .png, * .tif, etc …Well greetings and see you in the next post … .. I hope you liked it.
Good starting from this we call good img1.jpg will open a terminal in the directory where the image and type the following command image.
nconvert -out png -embossmore img1.jpg
What we are telling us is that you create output image file with extension png and to apply the filter -embossmore and the result is a img1.png file if opened with the viewfinder we get this:
Well the number of combinations are almost endless, let the other.
nconvert -out png -embossmore -binary floyd img1.jpg
With this image we apply two filters at once -embossmore and -binary, remember that we can apply all
we want both.
with this we get the following:
nconvert -out png -embossmore -swirl 80 img1.jpg
Good for no more images you put it checks everything you can do typing.
nconvert -help > /mnt/home/nconvert.txt
In this nconvert.txt file you will find all the possibilities of e nconvert, or left a few here that I‘ve tried:
nconvert -out png -sepia 80 img1.jpg
nconvert -out png -solarize 120 i
nconvert -out png -rotate 20 img1.jpg
nconvert -out png -sepia 80 img1.jpg
nconvert -out png -resize 300 148 img1.jpg
nconvert -out png -mosaic 30 img1.jpg
nconvert -out png -negate img1.jpg
nconvert -out png -medianb 5 img1.jpg
nconvert -out png -medianb 11 img1.jpg
nconvert -out png -levels 30 20 img1.jpg
nconvert -out png -levels 50 20 img1.jpg
nconvert -out png -levels 100 100 img1.jpg
nconvert -out png -lents 50 img1.jpg
nconvert -out png -grey 4
nconvert -out png -grey 32 img1.jpg
Well I’ll put many more curious and combinations thereof encourage people to be putting a lot more and try.Good one last thing for now if what you want is to apply the same filter to all jpg images from a directory so you would have to write a Comado:
nconvert -out png -negate *.jpg
This what I would do is that all images will grow into jpg png files but these would come out of the original negative. * .jpg is the filter for all the images directory, if they are png * .png, * .tif, etc …Well greetings and see you in the next post … .. I hope you liked it.