aboutsummaryrefslogtreecommitdiffstats
path: root/w3mimg/x11/x11_w3mimg.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2015-12-20Fix semi-transparent artifacts in w3m-img when used with 32-bit color (e.g. ↵Franz Thoma1-1/+5
urxvt) imlib_render_image_on_drawable_at_size() tended to leave nasty semi-transparent artifacts in 32-bit mode. Apparently, resizing an image in 32-bit mode affects the alpha channel even if there is no transparency in the image. With this patch, resizing is done in 24-bit mode (or whatever depth the original image has) before converting the image to 32-bit and rendering it on the display. Origin: https://gist.github.com/fmthoma/f76a1b44e00d5ca972bb cf. https://github.com/hut/ranger/issues/86#issuecomment-166027119
2015-12-16Wrap render_pixbuf_to_pixmap_32() in USE_GTK2Tatsuya Kinoshita1-1/+3
2015-12-16w3mimgdisplay supports 32 bit depth screen. (e.g. gnome-terminal)arakiken1-10/+55
2015-12-16Revert "Fix handling visuals and colormaps incorrectly"Tatsuya Kinoshita1-9/+4
This reverts commit e24b4064daf3e022e370788a8c7267db40c37dda.
2015-10-23Fix handling visuals and colormaps incorrectlyBwackNinja1-4/+9
cf. https://github.com/hut/ranger/issues/86 Origin: https://gist.github.com/BwackNinja/60a344730170f9ce2163 Bug-Arch: https://bugs.archlinux.org/task/46836 Bug: https://sourceforge.net/p/w3m/patches/72/
2014-12-06Support remote image by OSC 5379 show_picture sequence.Araki Ken1-3/+14
2014-12-01Depend on gdk-pixbuf instead of gtk when gtk2Naohiro Aota1-1/+1
Origin: http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/www-client/w3m/files/w3m-0.5.3-gdk-pixbuf.patch?revision=1.1
2011-05-04Adding upstream version 0.5.2upstream/0.5.2Tatsuya Kinoshita1-9/+115
2011-05-04Adding upstream version 0.5.1upstream/0.5.1Tatsuya Kinoshita1-0/+723
2004-11-08* w3mimg/fb/fb_gdkpixbuf.c (fb_image_load):Fumitoshi UKAI1-2/+3
fix unused variable `i' * w3mimg/x11/x11_w3mimg.c (x11_load_image): ditto
2004-11-08[w3m-dev 04128] Re: w3mimgdisplayFumitoshi UKAI1-1/+5
* acinclude.m4 (AC_W3M_IMAGE): check not yes * aclocal.m4, configure: regen * w3mimg/fb/fb_gdkpixbuf.c (fb_image_load): fb_image_fill in case GDK_PIXBUF_FRAME_DISPOSE * w3mimg/x11/x11_w3mimg.c (get_animation_size): return n (x11_load_image): fill in case GDK_PIXBUF_FRAME_DISPOSE
2004-08-05[w3m-dev 04097] Re: w3m-img gtk2Fumitoshi UKAI1-39/+24
* w3mimg/fb/fb_gdkpixbuf.c (draw): no need bg (get_animation_size): use GTimeVal (fb_image_load): use GTimeVal fix for animation * w3mimg/x11/x11_w3mimg.c (get_animation_size): use GTimeVal (x11_load_image): use GTimeVal fix for animation From: Hiroyuki Ito <ZXB01226@nifty.com>
2004-08-04[w3m-dev 04096] w3m-img gtk2Fumitoshi UKAI1-9/+125
* acinclude.m4 (AC_W3M_IMAGE): add USE_GTK2 add --with-imagelib=gtk2 * aclocal.m4 config.guess config.sub configure: regen * config.h.in: add USE_GTK2 * w3mimg/fb/fb_gdkpixbuf.c: support USE_GTK2 * w3mimg/fb/fb_img.h: add fb_image_init() * w3mimg/fb/fb_imlib2.h: fb_image_init() stub * w3mimg/fb/fb_w3mimg.c: call fb_image_init() * w3mimg/x11/x11_w3mimg.c: support USE_GTK2 From: Fumitoshi UKAI <ukai@debian.or.jp>
2003-07-13[w3m-dev 03938] clear region marginFumitoshi UKAI1-1/+7
* w3mimgdisplay.c (clearMargin): added (GetOption): add -margin (ClearImage): clear margin * w3mi,g/w3mimg.h (w3mimg_op): clear_margin * w3mimg/fb/fb.c (fb_clear): x,y must be >= 0 * w3mimg/x11/x11_w3mimg.c (x11_clear): x,y must be >= 0 From: Hiroyuki Ito <hito@crl.go.jp>
2003-07-08[w3m-dev 03934] Re: clear imageFumitoshi UKAI1-2/+2
* w3mimg/x11/x11_w3mimg.c (x11_clear): s/FALSE/False/ From: ABE Yuji <cbo46560@pop12.odn.ne.jp>
2003-07-07[w3m-dev 03929] clear imageFumitoshi UKAI1-1/+15
* image.c (syncImage): added (drawImage): rewrite using syncImage() (clearImage): use clear image command (6) * w3mimgdisplay.c: change protocol 2 => terminate drawing 6 => clear image (main): '2' calls TermImage() '6' calls ClearImage() TermImage() when exit (TermImage): renamed from ClearImage (ClearImage): rewritten to call w_op->clear() * w3mimg.h/w3mimg.h (w3mimg_op): add clear() * w3mimg/fb/fb.c (fb_clear): added * w3mimg/fb/fb.h (fb_clear): added * w3mimg/fb/fb_img.c (fb_image_clear): added * w3mimg/fb/fb_w3mimg.c (w3mfb_clear): added (w3mimg_fbopen): initialize wop->clear * w3mimg/x11/x11_w3mimg.c (x11_clear): added (w3mimg_x11open): initialize wop->clear From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
2003-06-13fix indentFumitoshi UKAI1-4/+4
2003-06-13[w3m-dev 03913] fix gif animation supportFumitoshi UKAI1-22/+32
* w3mimg/fb/fb_gdkpixbuf.c (fb_image_load): fix gif animation * w3mimg/x11/x11_w3mimg.c (x11_load_image): ditto From: Hiroyuki Ito <hito@crl.go.jp>
2003-04-03fix indentFumitoshi UKAI1-9/+11
2003-04-03[w3m-dev 03837] Re: gif animation with no delay_timeFumitoshi UKAI1-13/+30
* w3mimg/fb/fb_gdkpixbuf.c (get_animation_size): add delay check delay_time (get_image_size): no need delay time (fb_image_load): check delay (draw): no bg * w3mimg/fb/fb_w3mimg.c (w3mfb_show_image): delete delay skip loop * w3mimg/x11/x11_w3mimg.c (get_animation_size): add delay check delay_time (x11_load_image): check delay (x11_get_image_size): no need delay time From: Hiroyuki Ito <hito@crl.go.jp>
2003-03-27[w3m-dev 03834] Re: gif animation with no delay_timeFumitoshi UKAI1-2/+2
* w3mimg/x11/x11_w3mimg.c (x11_load_image): fix delay check From: ABE Yuji <cbo46560@pop12.odn.ne.jp>
2003-03-26fix indentFumitoshi UKAI1-5/+6
2003-03-26[w3m-dev 03833] gif animation with no delay_timeFumitoshi UKAI1-3/+11
* w3mimg/fb/fb_w3mimg.c (w3mfb_show_image): skip delay<=0 * w3mimg/x11/x11_w3mimg.c (x11_image): add delay (x11_img_new): initialize delay (x11_load_image): initialize delay (x11_show_image): jump to last image if delay<=0 From: ABE Yuji <cbo46560@pop12.odn.ne.jp>
2003-03-26[w3m-dev 03830] Image size of gif animationFumitoshi UKAI1-10/+35
* w3mimg/fb/fb_gdkpixbuf.c (get_animation_size): added (get_image_size): use get_animation_size() (fb_image_load): ditto * w3mimg/x11/x11_w3mimg.c (get_animation_size): added (x11_load_image): use get_animation_size() (x11_get_image_size): ditto From: Hiroyuki Ito <hito@crl.go.jp>
2003-03-24fix indentFumitoshi UKAI1-8/+8
2003-03-24[w3m-dev 03829] w3mimgdisplay -animFumitoshi UKAI1-1/+5
* w3mimgdisplay.c (maxAnim): added, default 100 (main): add --anim option, w_op->max_anim * w3mimg/w3mimg.h (w3mimg_op): add max_anim * w3mimg/fb/fb_gdkpixbuf.c (fb_image_load): add max_anim * w3mimg/fb/fb_img.h (fb_image_load): add max_anim args * w3mimg/fb/fb_imlib2.c (fb_image_load): add max_anim args * w3mimg/fb/fb_w3mimg.c (w3mfb_load_image): pass max_anim * w3mimg/x11/x11_w3mimg.c (x11_load_image): max_anim From: Hiroyuki Ito <hito@crl.go.jp>
2003-01-21[w3m-dev 03665] imlib2 support (on X11)Fumitoshi UKAI1-3/+41
* configure: X11 inline image with Imlib2 fix typo in fb/imlib2 * w3mimg/x11/x11_w3mimg.c: USE_IMLIB2 (x11_load_image): USE_IMLIB2 (x11_show_image): USE_IMLIB2 (x11_free_image): USE_IMLIB2 (x11_get_image_size): USE_IMLIB2 From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
2002-12-25[w3m-dev 03602] Re: w3mimgdisplay core dumpFumitoshi UKAI1-1/+5
* w3mimgdisplay.c (DrawImage): check load_image, imageBuf[n].pixmap * w3mimg/fb/fb_w3mimg.c (w3mfb_show_image): check img->pixmap * w3mimg/x11/x11_w3mimg.c (x11_show_image): check img->pixmap From: Hiroyuki Ito <hito@crl.go.jp>
2002-10-05* [w3m-dev 03333] x11 image animationFumitoshi UKAI1-30/+202
* w3mimg/x11/x11_w3mimg.c (struct x11_image): added (x11_img_new): added (resize_image): added (x11_load_image): rewrite GdkPixbuf (x11_show_image): rewrite GdkPixbuf (x11_free_image): rewrite GdkPixbuf From: Hiroyuki Ito <hito@crl.go.jp>
2002-10-01[w3m-dev 03332] Re: hang up when seeing web page that contains xbm fileFumitoshi UKAI1-5/+9
* w3mimg/x11/x11_w3mimg.c (x11_load_image): transparent support From: Yuji Abe <cbo46560@pop12.odn.ne.jp>
2002-09-30[w3m-dev 03330] Re: hang up when seeing web page that contains xbm fileFumitoshi UKAI1-6/+18
* w3mimg/x11/x11_w3mimg.c (x11_load_image): scaling From: Yuji Abe <cbo46560@pop12.odn.ne.jp>
2002-09-29[w3m-dev 03327] gdk-pixbuf support for w3m-img/x11Fumitoshi UKAI1-1/+55
* configure (use_w3mimg_x11) Imlib1 or GdkPixbuf check gdkpixbuf * w3mimg/x11/x11_w3mimg.c (USE_GDKPIXBUF): added (x11_init): USE_GDKPIXBUF (x11_load_image): USE_GDKPIXBUF (x11_get_image_size): USE_GDKPIXBUF From: Yuji Abe <cbo46560@pop12.odn.ne.jp>
2002-09-09fix indentFumitoshi UKAI1-2/+3
2002-07-22[w3m-dev 03279] w3m-img for framebuffer updateFumitoshi UKAI1-1/+23
http://homepage3.nifty.com/slokar/fb/w3mfb.patch.gz * w3mimg/fb/readme.txt: update * w3mimg/fb/fb.c: update * w3mimg/fb/fb.h: update * w3mimg/fb/fb_gdkpixbuf.c: update * w3mimg/fb/fb_img.c: update * w3mimg/fb/fb_img.h: update * w3mimg/fb/fb_imlib2.c: update * w3mimg/fb/fb_w3mimg.c: update * w3mimg/fb/fb_gdkpixbuf.h: deleted * w3mimg/fb/fb_imlib2.h: deleted * w3mimg/w3mimg.h (w3mimg_op): add get_image_size() * w3mimg/x11/x11_w3mimg.c: update * w3mimgdisplay.c (main): use get_image_size() * w3mimgsize.c (main): use get_image_size() From: Hiroyuki Ito <hito@crl.go.jp>
2002-07-18indentFumitoshi UKAI1-27/+26
2002-07-18indentFumitoshi UKAI1-10/+9
2002-07-18[w3m-dev 03270] Re: w3m-img for framebuffer mergedFumitoshi UKAI1-2/+3
* w3mimg/x11/x11_w3mimg.c (w3mimg_x11open): unsigned int nchildren From: Yoshinobu Sakane <sakane@d4.bsd.nes.nec.co.jp>
2002-07-17merge w3m-img for framebuffer supportFumitoshi UKAI1-0/+330
* w3mimg/w3mimg.h: created * w3mimg/x11/x11_w3mimg.c: created * w3mimg/fb/fb_w3mimg.c: created * w3mimgsize.c w3mimgdisplay.c: modified * configure: modified * XMakefile: modified * config.h.dist: updated From: Fumitoshi UKAI <ukai@debian.or.jp> w3m-img for framebuffer support * http://homepage3.nifty.com/slokar/fb/ * w3mimg/fb/fb.c w3mimg/fb/fb.h w3mimg/fb/fb_img.c w3mimg/fb/fb_img.h w3mimg/fb/fb_gdkpixbuf.c w3mimg/fb/fb_gdkpixbuf.h w3mimg/fb/fb_imlib2.c w3mimg/fb/fb_imlib.h w3mimg/fb/readme.txt w3mimg/fb/license.txt: added From: Hiroshi Kawashima <kei@sm.sony.co.jp>