Opened 10 years ago

Closed 10 years ago

#678 closed defect (wontfix)

Image_filter don't turn the interlace bit on without resize.

Reported by: Opium ForPeople Owned by:
Priority: minor Milestone:
Component: nginx-module Version: 1.7.x
Keywords: Cc:
uname -a: Linux local 3.2.0-4-amd64 #1 SMP Debian 3.2.60-1+deb7u3 x86_64 GNU/Linux
nginx -V: nginx version: nginx/1.7.8
built by gcc 4.7.2 (Debian 4.7.2-5)
TLS SNI support enabled
configure arguments: --prefix=/etc/nginx --sbin-path=/usr/sbin/nginx --conf-path=/etc/nginx/nginx.conf --error-log-path=/var/log/nginx/error.log --http-log-path=/var/log/nginx/access.log --pid-path=/var/run/nginx.pid --lock-path=/var/run/nginx.lock --http-client-body-temp-path=/var/cache/nginx/client_temp --http-proxy-temp-path=/var/cache/nginx/proxy_temp --http-fastcgi-temp-path=/var/cache/nginx/fastcgi_temp --http-uwsgi-temp-path=/var/cache/nginx/uwsgi_temp --http-scgi-temp-path=/var/cache/nginx/scgi_temp --user=nginx --group=nginx --with-http_ssl_module --with-http_realip_module --with-http_addition_module --with-http_sub_module --with-http_dav_module --with-http_flv_module --with-http_mp4_module --with-http_gunzip_module --with-http_gzip_static_module --with-http_random_index_module --with-http_secure_link_module --with-http_stub_status_module --with-http_auth_request_module --with-mail --with-mail_ssl_module --with-file-aio --with-http_spdy_module --with-cc-opt='-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security' --with-ld-opt=-Wl,-z,relro --with-http_image_filter_module --add-module=sla

Description

I need just make my images interlaced (progressive jpeg), not resize or rotate them. Unfortunately, ngx_image_filter do nothing with my pictures, if I set directive 'image_filter_interlace on' alone, without resize directive or with 'resize - -' (tried to deceive him). But if I add resizing, interlacing turns on to.

Change History (1)

comment:1 by Maxim Dounin, 10 years ago

Resolution: wontfix
Status: newclosed

That's expected behaviour. Image filter does resizing, rotation and so on once configured. While doing so it carefully checks if it actually has anything to do to avoid unneeded work if possible. If image filter detects there is nothing to do, it doesn't process images and pass them as is. The image_filter_interlace on; only configures desired image properties if a transformation was applied, but does nothing if the image was passed as is.

Note: See TracTickets for help on using tickets.