mirror of
https://github.com/Michaelangel007/apple2gs_shr_converter.git
synced 2024-06-01 00:41:37 +00:00
13 lines
480 B
Batchfile
13 lines
480 B
Batchfile
|
@echo off
|
||
|
REM crop1440.bat - center-crop jpeg 1920 x 1080 hd wallpaper to 4:3 aspect BMP
|
||
|
REM set path to ImageMagick below
|
||
|
REM for ImageMagick version 6.9 use the following
|
||
|
REM set MAGICK=c:\IM\convert
|
||
|
REM for ImageMagick version 7 use the following
|
||
|
set MAGICK=c:\IM\magick
|
||
|
if not exist jpg\*.* mkdir jpg >NUL
|
||
|
for %%f in (*.jpg) do call %MAGICK% %%f -gravity center -crop 1440x1080+0+0 -define format:BMP %%~nf.bmp
|
||
|
cd jpg
|
||
|
if exist ..\*.jpg move ..\*.jpg . > NUL
|
||
|
cd ..
|