From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Thu, 2 Jun 2005 21:25:22 +0200 From: "Ilya V. Pobelov" To: community@altlinux.ru Subject: Re: [Comm] =?koi8-r?B?8MHLxdTOwdEgz8LSwcLP?= =?koi8-r?B?1MvBIMbP1M/H0sHGyco/?= Message-ID: <20050602192522.GB8334@pur.v.ru> Mail-Followup-To: community@altlinux.ru References: <200505271454.12283.mak@cea.ru> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Clx92ZfkiYIKRjnr" Content-Disposition: inline In-Reply-To: <200505271454.12283.mak@cea.ru> User-Agent: Mutt/1.4.2.1i X-BeenThere: community@altlinux.ru X-Mailman-Version: 2.1.5 Precedence: list Reply-To: community@altlinux.ru List-Id: Mailing list for ALT Linux users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Jun 2005 19:38:49 -0000 Archived-At: List-Archive: List-Post: --Clx92ZfkiYIKRjnr Content-Type: multipart/mixed; boundary="qlTNgmc+xy1dBmNv" Content-Disposition: inline --qlTNgmc+xy1dBmNv Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, May 27, 2005 at 02:54:12PM +0400, Michael A. Kangin wrote: > =EB=C1=CB=D5=C0 =D0=D2=CF=C7=D2=C1=CD=CD=CB=D5 =CD=CF=D6=CE=CF =D0=D2=C9= =CD=C5=CE=C9=D4=D8 =C4=CC=D1 =D0=C1=CB=C5=D4=CE=CF=CA =CF=C2=D2=C1=C2=CF=D4= =CB=C9 =CB=D5=DE=C9 =C6=CF=D4=CF=CB =D3 =CB=C1=CD=C5=D2=D9? =E9=D3=D0=CF=CC=D8=DA=D5=C0 =CE=C9=D6=C5=D3=CC=C5=C4=D5=C0=DD=C9=CA =D3=CB= =D2=C9=D0=D4 =CE=C1 ImageMagick, =D0=C5=D2=C5=CF=C4=C9=DE=C5=D3=CB=C9 =C4= =CF=D2=C1=C2=C1=D4=D9=D7=C1=D1. =E9=D3=D0=CF=CC=D8=DA=CF=D7=C1=D4=D8 =D4=C1=CB - =D3=D7=C1=CC=C9=D4=D8 "=C2= =CF=CC=D8=DB=C9=C5" =C6=CF=D4=CB=C9 =D7 =CF=C4=C9=CE =CB=C1=D4=C1=CC=CF=C7,= =D7 =D0=CF=C4=CB=C1=D4=C1=CC=CF=C7 right/left =D0=CF=CC=CF=D6=C9=D4=D8 =D4=C5, =CB=CF=D4=CF=D2=D9=C5 =CE=D5=D6= =CE=CF =D0=CF=D7=C5=D2=CE=D5=D4=D8 =D0=CF/=D0=D2=CF=D4=C9=D7 =DE=C1=D3=CF= =D7=CF=CA =D3=D4=D2=C5=CC=CB=C9 (=DA=CE=C1=C0, =DE=D4=CF =CE=C5 =D3=CF=D7=D3=C5=CD =CC=CF=C7=C9=DE=CE=CF, = =CE=CF =D4=C1=CB =D5=D6 =D3=CC=CF=D6=C9=CC=CF=D3=D8 =C9=D3=D4=CF=D2=C9=DE= =C5=D3=CB=C9) =C9 =DA=C1=D0=D5=D3=D4=C9=D4=D8 =D3=CB=D2=C9=D0=D4. =F7 =D0=CF=C4=CB=C1=D4=C1=CC=CF=C7=C5 small =C2=D5=C4= =D5 =D5=CD=C5=CE=D8=DB=C5=CE=CE=D9=C5 =C6=CF=D4=CB=C9 =C9 =D0=D2=C5=D7=D8= =C0=DB=CB=C9, =D7 =CF=D3=CE=CF=D7=CE=CF=CD =CB=C1=D4=C1=CC=CF=C7=C5 =C5=DD=C5 =C9 =D0=D2=C1=D7=C9=CC=D8=CE=CF =D0=CF= =D7=C5=D2=CE=D5=D4=D9=C5 =C2=CF=CC=D8=DB=C9=C5. -- With best regards, Ilya V. Pobelov ALT Linux Master 2.4 (Citron) kernel 2.6.11-wks26-up-alt2, system uptime: 8 days, 21 min Amorphis - 2003 - Far From The Sun - 10 - Smithereens --qlTNgmc+xy1dBmNv Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=photo Content-Transfer-Encoding: quoted-printable #!/bin/bash # Rotate/resize/convert to jpg photos for publishing in internet=20 THUMBSIZE=3D150 QUALITY=3D70 mkdir small FILEMASK=3D*.{jpg,JPG,tif,TIF,png,PNG,bmp,BMP} for IMAGE in `ls *.{jpg,JPG,tif,TIF,png,PNG,bmp,BMP} 2> /dev/null`; do=20 NAMELENGHT=3D${#IMAGE} IMAGENAME=3D${IMAGE:0:$NAMELENGHT-4} convert $IMAGE -quality $QUALITY -resize 600 small/$IMAGENAME.jpg convert $IMAGE -resize $THUMBSIZE -quality $QUALITY small/tn_$IMAGENAME= .jpg done [ -d left ] && for IMAGE in `ls left/*.{jpg,JPG,tif,TIF,png,PNG,bmp,BMP} 2= > /dev/null`; do=20 NAMELENGHT=3D${#IMAGE} IMAGENAME=3D${IMAGE:5:$NAMELENGHT-9} convert $IMAGE -rotate -90 ${IMAGENAME}.jpg convert $IMAGE -rotate -90 -quality $QUALITY -resize x600 small/${IMAGE= NAME}.jpg convert $IMAGE -rotate -90 -quality $QUALITY -resize x${THUMBSIZE} smal= l/th_${IMAGENAME}.jpg done [ -d right ] && for IMAGE in `ls right/*.{jpg,JPG,tif,TIF,png,PNG,bmp,BMP}= 2> /dev/null`; do=20 NAMELENGHT=3D${#IMAGE} IMAGENAME=3D${IMAGE:6:$NAMELENGHT-10} convert $IMAGE -rotate 90 ${IMAGENAME}.jpg convert $IMAGE -rotate 90 -resize x600 -quality $QUALITY small/${IMAGEN= AME}.jpg convert $IMAGE -rotate 90 -resize x${THUMBSIZE} -quality $QUALITY small= /tn_${IMAGENAME}.jpg done --qlTNgmc+xy1dBmNv-- --Clx92ZfkiYIKRjnr Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (GNU/Linux) iD8DBQFCn10hqDYQKXRdJlYRAqm1AJ43jnsLaPOlLWN8/oLYO5l9dZS3gwCeNsw9 BsvMopYmYJFaU3+O5XAHMo8= =uu7M -----END PGP SIGNATURE----- --Clx92ZfkiYIKRjnr--