convert na img2htm

OldFrog oldfrog na volny.cz
Pátek Říjen 18 00:15:06 CEST 2002


>
>
>>1.Ak dam robit miniaturu, tak zmensuje
>>iba v pomere 1:2,4,8,... Akym sposobom
>>sa mu da PRESNE urcit velkost vystupneho
>>obrazku. Hlavne ak na vstupe nie je
>>rovnaka velkost obrazkov.
>>Alebo aspon oznamit svetu, co vlastne
>>stvoril. (verbose rezim to robi, ale
>>nemam chut ho parsovat pre kazdy subor)
>>    
>>
>
>-resize 123x345
>
>Podrobnost jsou v man convert.
>  
>

Nevim presne, co je Vasim cilem, pouze upozornim
na ncovert, ktery je soucasti programu XnView.
Umoznuje davkove pomerne sofistikovane upravy
obrazku. Jako prilohu posilam vystup nconvert -help.

OldFrog.


------------- další část ---------------
** NCONVERT v3.16 Copyright 1991-2001 Pierre-E Gougelet (Oct 30 2001/10:54:40) **
        Version for Linux x86 (X11)  (All rights reserved)
** This is a freeware software

The JPEG code is based in part on the work of the Independent JPEG Group's software.
The PNG code is based in part on the work of the Group 42, Inc.
This software is based in part on compression library of Jean-loup Gailly and Mark Adler

Usage : nconvert [options] file ...

        Options :
          -quiet            : Quiet mode
          -info             : Display informations only
          -v[.]             : Verbose
          -in format        : Input format number or -1
          -page num         : Page/image number
          -xall             : Extract all images
          -npcd num         : PCD 0:192x128, 1:384x256, 2:768x512 (default)
          -ngrb npic        : HP-48 number of grey : 1, 2 or 4 (default : 1)
          -ctype type       : Channel Type (Raw)
              grey  : Greyscale (default)
              rgb   : Red,Green,Blue
              bgr   : Blue,Green,Red
              rgba  : Red,Green,Blue,Alpha
              abgr  : Alpha,Blue,Green,Red
              cmy   : Cyan,Magenta,Yellow
              cmyk  : Cyan,Magenta,Yellow,Black
          -corder order     : Channel Order (Raw)
              inter : Interleaved (default)
              seq   : Sequential 
              sep   : Separate
          -size geometry    : Width and height (Raw/YUV)
                Geometry is widthxheight+offset
          -n start end step : Begin End Step (for image sequence)
          -o filename       : Output filename
              Use # to specify position of numeric enumerator
              Use % to specify source filename
          -out format       : Output format name
          -D                : Delete original picture
          -c value          : Compression number (default : 0)
              TIFF   : 1 (Rle), 2 (LZW), 3 (LZW+Prediction)
                       4 (CCITT G3), 5 (CCITT G3-2D), 6 (CCITT G4)
              TARGA, Softimage, SGI, PCX, IFF, BMP : 1 (Rle)
          -q value          : JPEG/PNG/FPX/WIC quality (default : 100)
          -clevel value     : PNG Compression level (default : 6)
          -i                : Interlaced GIF / Progressive JPEG
          -transparent value: Transparency Index (GIF)
          -opthuff          : Optimize Huffman Table
          -dpi res_dpi      : Set the resolution in DPI
          -wflag flag       : Write flag
              os2    : Write OS/2 bmp
              gif87  : Write GIF87a
              hp49   : Write HP49

        Process :
          -average size     : Average (3,5,7,9,11,13)
          -balance r g b    : Color balance
          -binary dither    : Convert in Binary
              pattern : Ordered pattern
              floyd   : Floyd steinberg
              halft45 : Halftone 45
              halft90 : Halftone 90
          -blur percent     : Blur (1...100)
          -brightness value : Modify brightness (-100...100)
          -canvas w h       : Resize canvas
              w h can be percent (ex: -resize 100% 200%)
          -colours num
          -colors num       : Convert in Indexed Colors (256, 216, 128, 64, 32, 16 or 8)
          -contrast value   : Modify contrast (-100...100)
          -crop x y w h     : Crop
          -dither           : Use dither for conversion (Colors and Grey only)
          -deinter k n      : De-interlace
              k : even or odd
              n : dup or int
          -edetail          : Enhance detail
          -eedge percent    : Enhance edges (1...100)
          -edgedetect type  : Edge detect
              light/medium/heavy
          -efocus           : Enhance focus
          -emboss           : Emboss 
          -embossmore       : Emboss more
          -equalize         : Equalize
          -frestore         : Focus restoration
          -gamma value      : Modify gamma (0.01<->5.0
          -gauss size       : Blur gaussian (3,5,7,9,11,13)
          -grey num         : Convert in Grey Scale (256, 128, 64, 32, 16, 8 or 4)
          -lens percent     : Lens (1...100)
          -log              : Apply logarithmic correction
          -maximum size     : Maximum filter (3,5,7,9,11,13)
          -medianb size     : Median Box filter (3,5,7,9,11,13)
          -medianc size     : Median Cross filter (3,5,7,9,11,13)
          -minimum size     : Minimum filter (3,5,7,9,11,13)
          -mosaic size      : Mosaic (1...64)
          -negate           : Negate
          -noise reduce     : Reduce noise
          -noise type value 
              uniform   : Add uniform noise
              gaussian  : Add gaussian noise
              laplacian : Add laplacian noise
              poisson   : Add poisson noise
          -normalize        : Normalize
          -oil size         : Oilify (1...16)
          -posterize count  : Posterize (2...256)
          -ratio            : Keep the ratio for scaling
          -rtype            : Type of resampling
              quick  : Quick resize
              linear : Bi-linear (linear)
          -rflag            : Flag for resizing
              incr   : Increase only
              decr   : Decrease only
          -resize w h      : Scale width-height
              w h can be percent (ex: -resize 100% 200%)
          -rotate degrees   : Rotate
          -sharpen percent  : Sharpen (1...100)
          -shear            : Shear
          -slice            : Slice
          -soften percent   : Soften (1...100)
          -solarize value   : Solarize (1...255)
          -spread amount    : Spread (1...32)
          -swap type        : Swap component
              rbg   : RGB->RBG
              bgr   : RGB->BGR
              brg   : RGB->BRG
              grb   : RGB->GRB
              gbr   : RGB->GBR
          -swirl degrees    : Swirl (1...360)
          -tile size        : Tile (1...64)
          -truecolors
          -truecolours      : Convert in True Colors
          -xflip            : Flip horizontal
          -yflip            : Flip vertical
          -waves wavelength phase amount : Waves
              wavelength   : (1.0 50.0)
              phase        : (0.0 360.0)
              amount       : (0.0 100.0)

        Available format:
               Name     Write  Description
                -1            : Automatic (Only for input)
               [*       ]     : JFIF based file 
               [2bp     ]     : Pocket PC Bitmap 
               [2d      ]     : Amapi 
               [411     ]     : Mavica 
               [a64     ]     : Artist 64 
               [abmp    ]     : Alpha Microsystems BMP 
               [abs     ]     : Optocat 
               [acc     ]     : Access 
               [aces    ]     : Aces200 
               [acorn   ]     : Acorn Sprite 
               [adex    ]     : ADEX 
               [ai      ]     : Adobe Illustrator 
               [aim     ]     : AIM Grey Scale 
               [alias   ]  *  : Alias Image File 
               [ami     ]     : Amica Paint 
               [ani     ]     : Windows Animated Cursor 
               [anv     ]     : AirNav 
               [aphp    ]     : Adobe PhotoParade 
               [arcib   ]  *  : ArcInfo Binary 
               [arf     ]     : ARF 
               [art     ]     : Artisan 
               [artdir  ]     : Art Director 
               [atk     ]     : Andrew Toolkit raster object 
               [att     ]     : AT&T Group 4 
               [aurora  ]     : Aurora 
               [avs     ]     : Stardent AVS X 
               [b16     ]     : PCO 
               [bfli    ]     : BFLI 
               [bfx     ]     : Bfx Bitware 
               [bga     ]     : Os/2 Warp 
               [bif     ]     : byLight 
               [biorad  ]     : Bio-Rad confocal 
               [bld     ]     : MegaPaint 
               [bmp     ]  *  : Windows Bitmap 
               [bob     ]     : Bob Raytracer 
               [brk     ]     : Brooktrout 301 
               [bum     ]     : Poser Bump 
               [c4      ]     : Edmics 
               [cadc    ]     : Autocad CAD-Camera 
               [cals    ]     : CALS Raster 
               [cam     ]     : Casio QV-10/100 Camera 
               [can     ]     : Canon Navigator Fax 
               [car     ]     : NeoBook Cartoon 
               [cat     ]     : Photomatrix 
               [cbmf    ]     : Corel Flow 
               [cdr     ]     : Corel Draw Bitmap (preview) 
               [cdu     ]     : CDU Paint 
               [ce      ]     : Computer Eyes, Digital Vision 
               [ce1     ]     : ComputerEyes Raw 
               [cel     ]     : Kiss Cel 
               [cin     ]  *  : Kodak Cineon 
               [ciph    ]     : InterPaint (Hires) 
               [cipt    ]     : InterPaint (Multicolor) 
               [cish    ]     : Image System (Hires) 
               [cism    ]     : Image System (Multicolor) 
               [cloe    ]     : Cloe Ray-Tracer 
               [clp     ]     : Windows Clipboard 
               [cmt     ]     : Chinon ES-1000 digital camera 
               [cmu     ]     : CMU Window Manager 
               [cmx     ]     : Corel Metafile Exchange 
               [cp8     ]     : CP8 256 Gray Scale 
               [cpat    ]     : Corel Draw Pattern (preview) 
               [cpc     ]     : Amstrad Cpc Screen 
               [cpt     ]     : Corel PhotoPaint 6.0 
               [crg     ]     : Calamus 
               [crw     ]     : Canon PowerShot 600/A5/A50/Pro70 
               [ct      ]     : Iris CT 
               [cur     ]     : Windows Cursor 
               [cut     ]     : Dr Halo 
               [cvp     ]     : Portrait 
               [dali    ]     : Dali Raw 
               [dbw     ]     : DBW Render 
               [dcmp    ]     : Discorp CMP Image 
               [dcpy    ]     : Datacopy 
               [dcx     ]     : Zsoft Multi-page Paintbrush 
               [dd      ]     : Doodle C64 
               [degas   ]  *  : Degas & Degas Elite 
               [dib     ]     : Windows DIB 
               [dicom   ]     : Dicom 
               [dkb     ]  *  : DKB Ray-Tracer 
               [doodle  ]     : Doodle Atari 
               [dpx     ]     : DPX 
               [drz     ]     : Draz Paint 
               [ecc     ]     : Ecchi 
               [eidi    ]     : Electric Image 
               [epa     ]     : Award Bios Logo 
               [epi     ]     : EPS Interchange Format 
               [eps     ]     : Encapsulated Postscript(Preview) 
               [esm     ]     : Enhance Simplex 
               [esmp    ]     : ESM Software Pix 
               [eyes    ]     : Microtek Eyestar 
               [face    ]     : Usenix FaceServer 
               [fax     ]     : Fax Group 3 
               [fbm     ]     : Fuzzy bitmap 
               [fff     ]     : Maggi Hairstyles & Cosmetics 
               [ffpg    ]     : Fenix Multi Map 
               [fi      ]     : Flash Image 
               [fit     ]     : FIT 
               [fits    ]     : Flexible Image Transport System 
               [fli     ]     : Autodesk Animator 
               [fmap    ]     : Fenix Map 
               [fpg     ]     : DIV Game Studio Multi Map 
               [fsy     ]     : PhotoFantasy Image 
               [fxs     ]     : WinFAX 
               [g3n     ]     : Imaging Fax 
               [gaf     ]     : Total Annihilation 
               [gbr     ]     : Gimp Brush 
               [gem     ]     : Digital Research (GEM Paint) 
               [geo     ]     : GeoPaint 
               [gfaray  ]     : Gfa Raytrace 
               [gg      ]     : Koala Paint (Compressed) 
               [gicon   ]     : Gimp Icon 
               [gif     ]  *  : CompuServe GIF 
               [gm      ]     : Autologic 
               [god     ]     : GoDot 
               [gpat    ]  *  : Gimp Pattern 
               [gpb     ]     : Sharp GPB 
               [grob    ]  *  : HP-48/49 GROB 
               [hdru    ]     : Apollo HDRU 
               [hed     ]     : Hi-Eddi 
               [hf      ]     : HF 
               [hir     ]     : Hires C64 
               [hr      ]     : TRS 80 
               [hru     ]  *  : HRU 
               [hrz     ]     : Slow Scan Television 
               [hsi     ]     : HSI Raw 
               [icb     ]     : Image Capture Board 
               [icd     ]     : Core IDC 
               [ico     ]  *  : Windows Icon 
               [icon    ]     : Sun Icon/Cursor 
               [iff     ]  *  : Amiga IFF 
               [iim     ]     : Inshape 
               [iimg    ]     : Interleaf 
               [ilab    ]     : ImageLab 
               [im5     ]     : IM5 (Visilog) 
               [img     ]     : Img Software Set 
               [imgt    ]     : Imaging Technology 
               [imt     ]     : IMNET Image 
               [ingr    ]     : Intergraph Format 
               [ioca    ]     : IOCA 
               [ipg     ]     : Mindjongg Format 
               [ish     ]     : Image Speeder 
               [iss     ]     : ISS 
               [j6i     ]     : Ricoh Digital Camera 
               [jbf     ]     : PaintShopPro Browser Cache File 
               [jif     ]  *  : Jeff's Image Format 
               [jj      ]     : Doodle C64 (Compressed) 
               [jpeg    ]  *  : JPEG / JFIF 
               [jps     ]     : Stereo Image 
               [jtf     ]     : Hayes JTFax 
               [k25     ]     : Kodak DC25 Camera 
               [kdc     ]     : Kodak DC120 Digital Camera 
               [kfx     ]     : Kofax Group 4 
               [koa     ]     : Koala Paint 
               [kps     ]     : IBM Kips 
               [kqp     ]     : Konica Camera File 
               [lbm     ]     : Deluxe Paint, Electronic Arts 
               [lcel    ]     : Lumena CEL 
               [lda     ]     : LaserData 
               [lff     ]     : LucasFilm Format 
               [lif     ]     : Homeworld Texture 
               [lvp     ]     : LView Pro 
               [lwi     ]     : Light Work Image 
               [m8      ]     : Heretic II MipMap 
               [mac     ]     : Mac Paint 
               [mag     ]     : MAGIchan Graphics 
               [map     ]     : DIV Game Studio Map 
               [mbig    ]     : Cartes Michelin 
               [mdl     ]     : Half-Life Model 
               [mfrm    ]     : Megalux Frame 
               [mgr     ]     : MGR bitmap 
               [miff    ]  *  : Image Magick file 
               [mil     ]     : Micro Illustrator Uncompressed 
               [mkcf    ]     : MonkeyCard 
               [mklg    ]     : MonkeyLogo 
               [mng     ]     : Multiple Network Graphics 
               [mrf     ]     : Marks Russel File 
               [msp     ]     : Microsoft Paint 
               [msx2    ]     : Msx 2 Screen 
               [mtv     ]  *  : MTV Ray-Tracer 
               [ncr     ]     : NCR Image 
               [neo     ]     : Neochrome (ST & TT) 
               [ngg     ]     : Nokia Group Graphics 
               [nist    ]     : NIST ihdr 
               [nitf    ]     : National Imagery Transmission F. 
               [nlm     ]     : Nokia Logo File 
               [nol     ]     : Nokia Operator Logo 
               [npm     ]     : Neopaint Mask 
               [oaz     ]     : OAZ Fax 
               [ocp     ]     : Advanced Art Studio 
               [ofx     ]     : Olicom Fax 
               [oil     ]     : Open Image Library Format 
               [os2     ]     : OS/2 Bitmap 
               [p64     ]     : Picasso 64 
               [p7      ]     : XV Visual Schnauzer 
               [palm    ]  *  : Palm Pilot 
               [pan     ]     : SmoothMove Pan Viewer 
               [pbm     ]  *  : Portable Bitmap 
               [pbt     ]     : Micro Dynamics MARS 
               [pcd     ]     : Kodak Photo CD 
               [pcl     ]  *  : Page Control Language 
               [pcx     ]  *  : Zsoft Publisher's Paintbrush 
               [pdd     ]     : Photo Deluxe 
               [pdf     ]     : Portable Document Format 
               [pds     ]     : Planetary Data System 
               [pdx     ]     : Mayura Draw 
               [pegs    ]     : Pegs 
               [pfr     ]     : PaintShopPro Frame 
               [pfs     ]     : Pfs Art Publisher 
               [pgc     ]     : Portfolio Graphics Compressed 
               [pgf     ]     : Portfolio Graphics 
               [pgm     ]  *  : Portable Greyscale 
               [pi      ]     : Blazing Paddles 
               [pic     ]     : PC Paint / Pictor Page 
               [pict    ]     : Macintosh Quickdraw/Pict 
               [pig     ]     : Ricoh IS30 
               [pixi    ]     : Pixibox 
               [pixp    ]     : Pixel Power Collage 
               [pm      ]     : PM 
               [pmg     ]     : Paint Magic 
               [pmp     ]     : Sony DSC-F1 Cyber-shot 
               [pmsk    ]     : PaintShopPro Mask 
               [png     ]  *  : Portable Network Graphics 
               [pnm     ]  *  : Portable Image 
               [ppm     ]  *  : Portable Pixmap 
               [ppp     ]     : Punk Productions Picture 
               [pps     ]     : PowerPoint (images) 
               [ppt     ]     : PowerPoint Presentation (images) 
               [prf     ]     : Polychrome Recursive Format 
               [prisms  ]     : Prisms 
               [prx     ]     : Printfox/Pagefox 
               [ps      ]     : Postscript 
               [psd     ]     : Adobe Photoshop 
               [pseg    ]     : IBM Printer Page Segment 
               [psf     ]     : PhotoStudio File 
               [psion3  ]  *  : Psion Serie 3 Bitmap 
               [psion5  ]  *  : Psion Serie 5 Bitmap 
               [psp     ]     : PaintShopPro Image 
               [pspp    ]     : PaintShopPro Pattern 
               [pspt    ]     : PaintShopPro Texture 
               [pwp     ]     : Seattle Film Works multi-image 
               [pxa     ]     : Pixia 
               [pxr     ]     : Pixar picture file 
               [pzl     ]     : Puzzle 
               [pzp     ]     : MGI Photosuite Project 
               [q0      ]     : Q0 
               [qdv     ]     : Qdv (Random Dot Software) 
               [qrt     ]  *  : Qrt Ray-Tracer 
               [qtif    ]     : QuickTime Image Format 
               [rad     ]  *  : Radiance 
               [ras     ]     : Sun Rasterfile 
               [raw     ]  *  : Raw 
               [ray     ]  *  : Rayshade 
               [rfax    ]     : Ricoh Fax 
               [ript    ]     : RIPTerm Image 
               [rix     ]     : ColoRIX 
               [rla     ]  *  : Wavefront Raster file 
               [rlc2    ]     : Image Systems RLC2 Graphic 
               [rle     ]     : Utah raster image 
               [rp      ]     : Rainbow Painter 
               [rpm     ]     : RunPaint (Multicolor) 
               [rsb     ]     : Red Storm File Format 
               [sar     ]     : Saracen Paint 
               [sci     ]     : SciFax 
               [sct     ]     : SciTex Continuous Tone 
               [sdg     ]     : Star Office Gallery 
               [sfax    ]     : SmartFax 
               [sfw     ]     : Seattle Film Works 
               [sgi     ]  *  : Silicon Graphics RGB 
               [sir     ]     : Solitaire Image Recorder 
               [sj1     ]     : Sega SJ-1 DIGIO 
               [skn     ]     : Skantek 
               [smp     ]     : Xionics SMP 
               [soft    ]  *  : Softimage 
               [spc     ]     : Spectrum 512 (Compressed) 
               [spot    ]     : SPOT 
               [sps     ]     : Spectrum 512 (Smooshed) 
               [spu     ]     : Spectrum 512 
               [ssi     ]     : SriSun 
               [st4     ]     : SBIG CCD camera ST-4 
               [stad    ]     : Stad 
               [star    ]     : Starbase 
               [stm     ]     : PhotoStudio Stamp 
               [stw     ]     : Neopaint Stamp 
               [stx     ]     : SBIG CCD camera ST-X 
               [synu    ]     : Synthetic Universe 
               [taac    ]     : Sun TAAC file 
               [tdi     ]     : Explore (TDI) & Maya 
               [tdim    ]     : Digital F/X 
               [teal    ]     : TealPaint 
               [tg4     ]     : TG4 
               [tga     ]  *  : Truevision Targa 
               [ti      ]  *  : TI Bitmap 
               [tiff    ]  *  : TIFF Revision 6 
               [til     ]     : Buttonz & Tilez texture 
               [tim     ]     : Sony Playstation TIM 
               [tiny    ]     : Tiny 
               [tnl     ]     : Thumbnail 
               [tub     ]     : PaintShopPro Picture Tube 
               [upe4    ]     : Ulead Texture 
               [upi     ]     : Ulead PhotoImpact 
               [upst    ]     : Ulead Pattern 
               [uyvy    ]  *  : YUV 16Bits 
               [uyvyi   ]  *  : YUV 16Bits Interleaved 
               [vda     ]     : Video Display Adapter 
               [vi      ]     : Jovian VI 
               [vicar   ]     : Vicar 
               [vid     ]     : Vidcom 64 
               [vif     ]     : Verity 
               [viff    ]     : Khoros Visualization Image file 
               [vista   ]  *  : Vista 
               [vit     ]     : VITec 
               [vivid   ]  *  : Vivid Ray-Tracer 
               [vob     ]     : Vue d'esprit 
               [vort    ]     : Vort 
               [vpb     ]     : Quantel VPB 
               [wal     ]     : Quake Texture 
               [wbmp    ]  *  : Wireless Bitmap (level 0) 
               [winm    ]     : WinMIPS 
               [wpg     ]     : Word Perfect Graphics 
               [wrl     ]  *  : VRML2 
               [xar     ]     : Xara (images) 
               [xbm     ]  *  : X11 Bitmap 
               [xcf     ]     : Gimp Bitmap 
               [xim     ]     : Ximage 
               [xpm     ]  *  : X11 Pixmap 
               [xwd     ]     : X Windows System dump 
               [yuv411  ]     : YUV 4:1:1 
               [yuv422  ]     : YUV 4:2:2 
               [yuv444  ]     : YUV 4:4:4 
               [zbr     ]     : Zoner Zebra Metafile (preview) 
               [zxhob   ]     : ZX Spectrum Hobetta 
               [zxscr   ]     : ZX Spectrum standard screen 
               [zxsna   ]     : ZX Spectrum Snapshot 
               [zzrough ]     : ZZ Rough 


Další informace o konferenci Linux