From f4268d8d18e57952b046c1bb6ab2aeeac145c310 Mon Sep 17 00:00:00 2001 From: Araki Ken Date: Tue, 29 Jan 2013 00:27:27 +0900 Subject: Support remote image by OSC 5379 show_picture sequence. --- fm.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'fm.h') diff --git a/fm.h b/fm.h index 49af0e4..75d3869 100644 --- a/fm.h +++ b/fm.h @@ -373,6 +373,8 @@ typedef struct _imageCache { int index; short width; short height; + short a_width; + short a_height; } ImageCache; typedef struct _image { @@ -919,6 +921,7 @@ global char *CurrentKeyData; global char *CurrentCmdData; global char *w3m_reqlog; extern char *w3m_version; +extern int support_remote_image; #define DUMP_BUFFER 0x01 #define DUMP_HEAD 0x02 -- cgit v1.2.3 From 147ef0048b9a50122e7865f36c97616b94ada76f Mon Sep 17 00:00:00 2001 From: Araki Ken Date: Sat, 2 Feb 2013 16:32:37 +0900 Subject: - Adjust the image size to the terminal cell size. - If the image size is specified in html source, skip to load the image. --- fm.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'fm.h') diff --git a/fm.h b/fm.h index 75d3869..b6cedcf 100644 --- a/fm.h +++ b/fm.h @@ -1177,9 +1177,11 @@ global char *ssl_forbid_method init("2, 3"); global int is_redisplay init(FALSE); global int clear_buffer init(TRUE); global double pixel_per_char init(DEFAULT_PIXEL_PER_CHAR); +global int pixel_per_char_i init(DEFAULT_PIXEL_PER_CHAR); global int set_pixel_per_char init(FALSE); #ifdef USE_IMAGE global double pixel_per_line init(DEFAULT_PIXEL_PER_LINE); +global int pixel_per_line_i init(DEFAULT_PIXEL_PER_LINE); global int set_pixel_per_line init(FALSE); global double image_scale init(100); #endif -- cgit v1.2.3 From 2fe66f3a6f1b1fd28424a2f14beebdd535e9d17b Mon Sep 17 00:00:00 2001 From: Araki Ken Date: Mon, 22 Sep 2014 20:16:39 +0900 Subject: Add -sixel option which supports image processing by img2sixel. --- fm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fm.h') diff --git a/fm.h b/fm.h index b6cedcf..8f594dc 100644 --- a/fm.h +++ b/fm.h @@ -921,7 +921,7 @@ global char *CurrentKeyData; global char *CurrentCmdData; global char *w3m_reqlog; extern char *w3m_version; -extern int support_remote_image; +extern int enable_inline_image; #define DUMP_BUFFER 0x01 #define DUMP_HEAD 0x02 -- cgit v1.2.3