Tag Info

New answers tagged

2

Consider this more of an expansion/enhancement to @Slyx's answer. Cygwin has a useful utility cygpath to convert Windows path to *nix-style understood within Cygwin's bash shell: $ cygpath "D:\Path\To\Images" /cygdrive/d/Path/To/Images Instead of the explicit for-loop suggested, you can also consider using find that has better support for filtering ...


6

You installed cygwin, so you can just use its shell for maximum command support : "C:\Program Files\Cygwin\cygwin.bat this will give you a bash shell Then you can change directoty to go to the images location. Suppose your image location is "D:\Your Name\Images", to go there type cd "/cygdrive/d/Your Name/Images" and then call your command using the bash ...


0

The most obvious choice would be to use the same output pixel format as the input. If you leave out -pix_fmt, ffmpeg will avoid any conversions that aren't required by filters or the vo. crop supports all (or at least most) pixel formats natively. ffmpeg can dump the names of all its supported pixel formats: ffmpeg -pix_fmts # dumps a list ffmpeg ...


2

You could use mogrify to batch convert & resize all .png images in the current directory: mogrify -resize 25% -format jpg *.png because it uses -format jpg the original .png images are left untouched (when format is the same or missing the originals are overwritten).


2

OpenSSH public key format is different from PEM format. You have to run ssh-keygen to convert it. ssh-keygen -f ~/.ssh/id_rsa.pub -e -m PEM >pubkey.pem Then convert it to DER format using openssl rsa. openssl rsa -RSAPublicKey_in -in pubkey.pem -inform PEM -outform DER -out ~/.ssh/id_rsa.pub.der -RSAPublicKey_out Note that you also have to specify ...



Top 50 recent answers are included