Re: w3mimgdisplay use?
- To: mutt-users@xxxxxxxx
- Subject: Re: w3mimgdisplay use?
- From: Sertaç Ö. Yıldız <sertac.liste@xxxxxxxxx>
- Date: Sat, 10 Nov 2007 14:37:20 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:date:from:to:subject:message-id:mail-followup-to:references:mime-version:content-type:content-disposition:content-transfer-encoding:in-reply-to:user-agent; bh=0nyG53onuXwyR4gh1TOOqL4AxVI2gaCZALjo9BdAQ5Y=; b=qoqCQAU0g1MqnX2craFWbq79g5S7keYKZ3A0FtV2zIBIL3Ybo3OeJ6TC7ftNiD57kY9NVV3ORR967gnytERRA0nPAvuXoBw2CQ1nZCFuvH6ltvkYdR3NkJlVoES0zr2zfp6r2mD64bQGkYBKtFFX2qhv0vl933YS636rtQXm3aw=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:date:from:to:subject:message-id:mail-followup-to:references:mime-version:content-type:content-disposition:content-transfer-encoding:in-reply-to:user-agent; b=HSFWvnmODD0w45G3VpJmxaVBNci0wbMDk7VCSBPSY+8pTQ9WaI3iiCo35nm3vsxicM7LB0YUzh2YGVk+VLK0U0fkW510rpM5OreWrU/iRVlskBDDxgAl7BsbXTue/sAUbVfq2F02LThrElY+B0i9G8txXU0dcstws6GTCK03KTk=
- In-reply-to: <20071109235924.GC7497@xxxxxxxxxxxxx>
- List-post: <mailto:mutt-users@mutt.org>
- List-unsubscribe: send mail to majordomo@mutt.org, body only "unsubscribe mutt-users"
- Mail-followup-to: mutt-users@xxxxxxxx
- References: <20071109211613.GE20630@xxxxxxxxxxxxx> <20071109232944.GA32174@localhost> <20071109234929.GB7497@xxxxxxxxxxxxx> <20071109235924.GC7497@xxxxxxxxxxxxx>
- Sender: owner-mutt-users@xxxxxxxx
- User-agent: Mutt/1.5.17 (2007-11-01)
* Kyle Wheeler [09.Kas.07 17:59 -0600]:
> n -> ?
This is used when displaying multiple images on a terminal window, and
holds the index of the images in the cache.
> x -> x coordinate to draw the image at (top left corner)
> y -> y coordinate to draw the image at (top left corner)
Correct.
> w -> width to draw the image
> h -> height to draw the image
These are the width/height of the original image to draw.
> sx -> ???
> xy -> ???
> sw -> width of the original (source) image
> sh -> height of the original (source) image
These parameters are for the actual image drawn on the window. Probably
's' stands for 'seen' or 'shown'. 'sx' and 'sy' are offsets from 'x' and
'y' respectively.
> After playing around, I figured out that sx and sy allow you to crop
> off parts of the top and left of the image... like it means "start
> drawing from sx and sy in the image", which makes some sense.
Yes, w3m uses these to redraw partly drawn images from cache when
scrolling.
> I still can't figure out what n means, though. ...perhaps it has
> something to do with animated gifs?
Animation frames are also drawn as separate images, so yes.
But if you need to tweak these n and s parameters, I'd suggest calling
w3m directly and letting it handle the details.
--
~sertaç