Tiếng AnhTiếng PhápTiếng Tây Ban Nha

Ad


Biểu tượng yêu thích OnWorks

imgsizer - Online in the Cloud

Run imgsizer in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command imgsizer that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

CHƯƠNG TRÌNH:

TÊN


imgsizer - automatically splice in height and width params for HTML IMG tags

SYNOPSIS


imgsizer [-d hồ sơ] [--document-root hồ sơ] [-h hồ sơ] [--help hồ sơ] [-n] [- không ghi đè]
[HTMLFile] [-v hồ sơ] [--version]

LỰA CHỌN


thông tin phiên bản màn hình và thoát.

Hiển thị thông tin sử dụng.

Directory where absolute image filenames (i.e, ones which contain a leading "/") may be
tìm.

-n, --no-overwwrite, .SH DESCRIPTION
Sản phẩm imgsizer script automates away the tedious task of creating and updating the
extension HEIGHT and WIDTH parameters in HTML IMG tags. These parameters help many
browsers (including the Netscape/Mozilla family) to multi-thread image loading,
instead of having to load images in strict sequence in order to have each one's
dimensions available so the next can be placed. This generally allows text on the
remainder of the page to load much faster.

This script will try create such attributes for any IMG tag that lacks them. It will
correct existing HEIGHT and WIDTH tags unless either contains a percent (%) sign, in which
case the existing dimensions are presumed to be relative and left unaltered.

This script may be called with no arguments. In this mode, it filters HTML presented on
stdin to HTML (unaltered except for added or corrected HEIGHT and WIDTH attributes) on
stdout. If called with file arguments, it will attempt to transform each file in place.
Each argument file is not actually modified until the script completes a successful
conversion pass.

Sản phẩm -d <directory> option sets the DocumentRoot, where images with an absolute filename
(i.e., ones which contain a leading "/") may be found. If none is specified, the
DocumentRoot defaults to the current working directory.

The -n (no-overwrite) opion prevents the program from overwriting existing width and
height tags if both are present.

Additional options may also be specified in the environmental variable "IMGSIZER". For
example, to avoid typing "imgsizer -d /var/www/docs" each time imgsizer is invoked, you
might tell sh (or one of its descendants):

IMGSIZER="-d /var/www/docs"; export IMGSIZER

or, if you use csh:

setenv IMGSIZER "-d /var/www/docs"

This script is written in Python, and thus requires a Python interpreter on the host
system. It also requires either the xác định(1) utility distributed in the open-source
ImageMagick suite of image-display and manipulation tools, or a modern version of hồ sơ(1)
rdjpgcom(1). These utilities are used to extract sizes from the images; imgsizer
itself has no knowledge of graphics formats. The script will handle any image format known
đến xác định(1) including PNG, GIF, JPEG, XBM, XPM, PostScript, BMP, TIFF, and anything
else even remotely likely to show up as an inline image.

LƯU Ý


The -q, -l, and -m options of the 1.0 versions are gone. What they used to do has been
made unnecessary by smarter logic.

Use imgsizer online using onworks.net services


Máy chủ & Máy trạm miễn phí

Tải xuống ứng dụng Windows & Linux

  • 1
    itop - ITSM CMDB OpenSource
    itop - Nguồn mở ITSM CMDB
    Cổng hoạt động CNTT: hoàn toàn mở
    nguồn, ITIL, dịch vụ dựa trên web
    công cụ quản lý bao gồm đầy đủ
    CMDB có thể tùy chỉnh, hệ thống trợ giúp và
    một người đàn ông tài liệu ...
    Tải xuống itop - ITSM CMDB OpenSource
  • 2
    Clementine
    Clementine
    Clementine là một bản nhạc đa nền tảng
    người chơi và tổ chức thư viện lấy cảm hứng từ
    Amarok 1.4. Nó có một tốc độ nhanh và
    giao diện dễ sử dụng và cho phép bạn
    tìm kiếm và...
    Tải xuống Clementine
  • 3
    XISMuS
    XISMuS
    CHÚ Ý: Bản cập nhật tích lũy 2.4.3 có
    đã được phát hành !! Bản cập nhật hoạt động cho bất kỳ
    phiên bản 2.xx trước đó. Nếu nâng cấp
    từ phiên bản v1.xx, vui lòng tải xuống và
    i ...
    Tải xuống XISMuS
  • 4
    facetracknoir
    facetracknoir
    Chương trình theo dõi mô-đun
    hỗ trợ nhiều trình theo dõi khuôn mặt, bộ lọc
    và giao thức trò chơi. Trong số những người theo dõi
    là SM FaceAPI, AIC Inertial Head
    Trình theo dõi ...
    Tải xuống facetracknoir
  • 5
    Mã QR PHP
    Mã QR PHP
    PHP QR Code là mã nguồn mở (LGPL)
    thư viện để tạo mã QR,
    Mã vạch 2 chiều. Dựa trên
    thư viện libqrencode C, cung cấp API cho
    tạo mã QR mã vạch ...
    Tải xuống mã QR PHP
  • 6
    freeciv
    freeciv
    Freeciv là một trò chơi miễn phí theo lượt
    trò chơi chiến lược nhiều người chơi, trong đó mỗi
    người chơi trở thành lãnh đạo của một
    nền văn minh, chiến đấu để đạt được
    mục tiêu cuối cùng: trở thành ...
    Tải xuống Freeciv
  • Khác »

Lệnh Linux

Ad