Commit Graph
28 Commits
Author SHA1 Message Date
arakikenandTatsuya Kinoshita e50693f6dc w3mimgdisplay supports 32 bit depth screen. (e.g. gnome-terminal) 2015-12-17 00:14:27 +09:00
Araki KenandTatsuya Kinoshita 2e8def7ab6 Add README.sixel. W3M_IMG2SIXEL environmental variable enables to specify options of img2sixel. 2014-12-06 20:47:05 +09:00
Araki KenandTatsuya Kinoshita 982a8feab0 * Add n_terminal_image argument to put_image_{sixel|osc5379}(). * Use struct winsize to calculate ppc and ppl. 2014-12-06 20:47:05 +09:00
Araki KenandTatsuya Kinoshita f64d6bb899 If SCREEN_VARIANT=sixel on GNU screen, exec img2sixel without -P option. 2014-12-06 20:47:05 +09:00
Araki KenandTatsuya Kinoshita df84882eb3 ttymode_set() -> ttymode_reset(). 2014-12-06 20:47:05 +09:00
Araki KenandTatsuya Kinoshita 78ae4478df Fix. 2014-12-06 20:47:05 +09:00
Araki KenandTatsuya Kinoshita 3f3906151b Support GNU screen. 2014-12-06 20:47:05 +09:00
Araki KenandTatsuya Kinoshita 0c25fd96f7 Show GIF (except animation GIF) correctly. 2014-12-06 20:47:05 +09:00
Araki KenandTatsuya Kinoshita 4459dbe26e img2sixel exits by Ctrl+C. Enable GIF Animation if 'I' is pressed to show it. 2014-12-06 20:47:05 +09:00
Araki KenandTatsuya Kinoshita 75e89acd80 Add declaration of get_pixel_per_cell(). 2014-12-06 20:47:05 +09:00
Araki KenandTatsuya Kinoshita 4a9c976e32 Show the first frame of animation gif files. 2014-12-06 20:47:05 +09:00
Araki KenandTatsuya Kinoshita e8b2d47358 system() -> fork()&execvp() 2014-12-06 20:47:05 +09:00
Araki KenandTatsuya Kinoshita 1eabd79f5b Draw underline on anchor which contains cboth text and images. 2014-12-06 20:47:05 +09:00
Araki KenandTatsuya Kinoshita 09ececc3b7 Remove close_tty() from setup_child() because close_tty() sometimes interrupts loadGeneralFile() in loadImage() and corrupt image data can be cached in ~/.w3m. 2014-12-06 20:47:05 +09:00
Araki KenandTatsuya Kinoshita 622bdafb59 Minor fix. 2014-12-06 20:47:05 +09:00
Araki KenandTatsuya Kinoshita de942f3abf Cache image files if at all possible and convert them to sixel when -sixel option is specified. 2014-12-06 20:47:05 +09:00
Araki KenandTatsuya Kinoshita 9504d18d0a Init pixel_per_{char|line}_i if get_pixel_per_cell() fails. 2014-12-06 20:47:05 +09:00
Araki KenandTatsuya Kinoshita 2fe66f3a6f Add -sixel option which supports image processing by img2sixel. 2014-12-06 20:47:05 +09:00
Araki KenandTatsuya Kinoshita 98b4d10ce4 Don't download image files whose size is specified in <img> tag. 2014-12-06 20:47:04 +09:00
Araki KenandTatsuya Kinoshita 08811e76fd Minor fixes of parseImageHeader(). 2014-12-06 20:47:04 +09:00
Araki KenandTatsuya Kinoshita e6856f2329 Determine the format of an image file by its header data not by its file name suffix. 2014-12-06 20:47:04 +09:00
Araki KenandTatsuya Kinoshita 0c0d4b5f38 Read width and height from jpeg, png and gif files directly instead of executing w3mimgdisplay -size. 2014-12-06 20:47:04 +09:00
Araki KenandTatsuya Kinoshita 0d99209d9f * display.c: Draw underline on anchor text which is not overlapped with any image. 2014-12-06 20:47:04 +09:00
Araki KenandTatsuya Kinoshita f941b1d562 * terms.c: Clear fd_set by FD_ZERO() before select(). 2014-12-06 20:47:04 +09:00
Araki KenandTatsuya Kinoshita 0640eca05c * file.c: nw and ni are rounded up instead of rounded off to show every corner of images. 2014-12-06 20:47:04 +09:00
Araki KenandTatsuya Kinoshita a95a178971 * terms.c: Change time to wait for the response of "\x1b[14t\x1b[18t" from 0.1 sec to 0.5 sec.
* image.c:
  - clearImage() works.
  - Use cached image files created by w3m in getImage().

* file.c: Hack for alignment.
2014-12-06 20:47:04 +09:00
Araki KenandTatsuya Kinoshita 147ef0048b - Adjust the image size to the terminal cell size. - If the image size is specified in html source, skip to load the image. 2014-12-06 20:47:04 +09:00
Araki KenandTatsuya Kinoshita f4268d8d18 Support remote image by OSC 5379 show_picture sequence. 2014-12-06 20:47:04 +09:00