NG-XIM Picture, video and sound viewer, manager and editor, HTML generator
Download linux version -> ( 2016.12.05. - V 2.8.06 ) Download windows version-> ( 2016.12.05. - V 2.8.06 )
Easy to manage directories
Table mode for picture collections
You can mark your pictures on a map
You can choose from many kinds of views
- The program is for viewing and editing *.jpg , *.bmp, *.png, *.gif, ... pictures , *.mpg, *.mpeg, ... videos and *.wav, *.ogg, *.mp3 ... audios.
- It makes easy to manage files and directories. (You can manage multi levels of directory tree in one step.)
- It offers a new service: you can place pictures with their features and description into collections.
To see the features of the program, please download it with the first demo collection. Start the ng-xim program. Enter in the downloaded “db1” demo directory with the help of the directory panel. Press "F4” (table mode), and "F6” (map mode). You can make a HTML presentation from it in a few seconds. Try it: Select all (press Ctrl+a), and press “F10” !
Start, command line options:
Start syntax: ng-xim [options] [file]
If there is no parameters, the program will start with the last saved options..
-home=path program will use path as the home directory (it must bee the first parameter)
-d directory-panel on
-v=(1-12) view mode – number of pictures: 1:one picture, 2:8+1, 3:3*3,... ,12:12*12 pictures. Don't use it with -d option.
-s strech mode – auto zoom
-w full screen
-m=(3-6) mode – (only for collections) 3:editor, 4:table, 5:picture, 6:map
-r random slide show
-t=time [sec/msec] slide show time interval (if time>=50, then msec)
-c=(0-12) type of animation
-a audio player on
ng-xim -w -s -r -t=5 -c=12 -f=*.jpg /home/ng/kepek/001.jpg
ng-xim -s -t=3500 -c=1 -f=*.jpg /home/ng/kepek/001.jpg
The main menu seen above appears by moving the mouse at the top edge of the window or pressing "F2” button.
The text of the long button on the left shows the name of the current directory or collection. Click here with the left mouse button, to pop up a panel, which help you to change collection or select pictures. Click with the right button, to get a menu for saving or loading file lists.
The further buttons from left to right: reload the full file list, settings, editor menu, go to table mode, view settings, go to map mode, delete file(s) from list, delete file(s) from disc, grade, slide show settings, play sound, file and directory menu, …
Moving the mouse underneath the panel, after 0.5 sec the main menu will be hide.
- F1: help
- F4: go to table mode (only for collections)
- F5: copy – move – rename – symlink
- F6: go to map mode (only for collections)
- F7: find or select pictures (only for collections)
- F8: delete selected file(s) from disc (it will ask before doing so)
- Del: delete selected file(s) from list (it will ask before doing so). The files remain on the disc.
- F9: text view settings (only for collections)
- F10: HTML generator
- shift-F1...F12: view mode
- ctrl-d: directory panel on/off
- ctrl-s: auto zoom on/off
- 0,1,2,...9: slide show speed
- ctrl-0,1,2,...9: slide show animation
- + -: zoom
- backspace: back to video clipboard
- Esc: exit
- ctrl-f(F): flip
- ctrl-r(R): rotate by 90 degree
- ctrl-u: max resolution on
- ctrl-U: max resolution off
- alt-Ins: Acquire picture from scanner
- A: resize picture
- B: background colour
- D: reread directory
- E: check pictures
- F: rotate picture
- G: copy or move pictures into a collection
- H: play sound
- K: select files
- L: save file list
- M: save picture as (*.jpg or *.bmp)
- R: Grade (only for collections)
- S: edit multi pictures in one step
- Q: find all the similar pictures in the collection
- T: find similar to the current picture (only for collections)
- W: full screen <-> window
- Prt Scr: save screen, window or panel (print-screen)
Managing files and directories:
The easy way to manage files and directories is
using the directory panel view. (Press Ctrl-d on keyboard)
The panel has three parts. Above is the directory list, below is the file list, and in the middle is a filter field. You can set the width and height of this fields with the mouse.
The directory list can have three kinds of entry: parent directory (in this example white ), current directory (yellow) and sub directory (black) . To change directory just click on the desired entry with left button.
In the file list appear only the filtered entries. The selected picture, sound, video or text file will be seen on the right part of the window. The selection can be made by mouse or up down page-up page-down keyboard buttons. For multi selection use the Ctrl or Shift button.
Managing multi level of directory-tree in one step:
The directory-tree helps us to store our files on
the disc, but sometimes it would be comfortable to see a part of the
directory structure including all sub directories in one list. In
this case just click with the right mouse button on the parent
directory of the desired part, and in the file list appear all the
files. For example select the filter *.jpg, than right-click on your
Another way: with Ctrl or Shift button and mouse select directories, than press Alt-d on keyboard, all the files of the selected directories appear on the file list.
With the macros and the possibility shown above, we can copy, move, rename, ..., place into a collection or into a list, in one step the files of a directory-tree.
Finding, filtering and selecting files:
In the middle of the directory panel there is the
filter field. We can choose its value from a drop down list or we can
give any other desired filter string using the * and the ? control
With the "K” key press we can get a selection panel. This is intended to select or deselect files from the current file list. On the bottom of the panel we can see the count and the sum size of the selected files.
Now it's easy to find files, just use together the “open multi level of directory-tree” and filtering possibilities.
Deleting files from disc or from list:
With “F8” button or “delete
files” from the menu: The selected files (either from more
directories) can be deleted from the disc. After this command a panel
appears on the screen (shown left) . If the file is a picture, we can
see it before deleting. Here we can choose:
- Yes: to delete the files step by step.
- No: to step this file over.
- All: to delete all files with no more questions.
- Cancel: to close the panel with no deletion.
If we press the "Del” keyboard button, we can delete the files only from the current file list. (The files on the disc remain unchanged.)
Copying, moving, renaming, symlinking:
Press “F5” to open the panel. Select
the desired operation. In the “dir:” field give the name
of the destination directory. In the “file:” field use
macros. ( for example: copy files with their
original name: %f%e, names in ordinal number %+(001).jpg, ...). ...
Making file lists:
We can make file lists with filter, select and “delete files from list” commands. The current file list can be saved by the “L” keyboard command. Use a “.lst” extension. File lists named this way can be loaded by a single left mouse click.
You can use these macros for copying, renaming... and copying to database.
- %p path name
- %d directory name
- %d[i] the PATH i-th directory name, where i count down ( /home/user/picture/paint -> %d=%d=paint, %d=picture, ... )
- %e file extension ( akarmi1.jpg -> .jpg )
- %f file name ( akarmi1.jpg -> akarmi1 )
- %w width of picture in pixels
- %h height of picture in pixels
- %s size of picture [byte]
- %+(ABC-123) count up ( ABC-124, ... ABC-999, ABD-000, ABD-001, ... )
- %-(def/456) count down ( def/455, ... def/000, dee/999, dee/998, ... )
- %r(sample,new) replace all
- %r(sample,new,count) replace
- %ri(sample,new) replace all, ignore case
- %ri(sample,new,count) replace, ignore case
In the "sample” the "*” or the "?”, and in the full macro the ",” and the ")” are control characters. Use "\*” "\?” "\,” and "\)” if need
Example: name_001.jpg -> %r(???.jpg,X) -> name_X
- %k(html,iso8259-2) code convert
- %k(html,utf8) code convert
- %(feature name) value of the named feature (only for collections)
- %(.) the original value of current cell (only for collections)
- %Exif(info type) read Exif info
ImageWidth, ImageLength, BitsPerSample, Compression, PhotometricInterpretation, Orientation, SamplesPerPixel, PlanarConfiguration, YCbCrSubSampling, YCbCrPositioning, XResolution, YResolution, ResolutionUnit,
TransferFunction, WhitePoint, PrimaryChromaticities, YCbCrCoefficients, ReferenceBlackWhite,
DateTime, ImageDescription, Make, Model, Software, Artist, Copyright
ComponentsConfiguration, CompressedBitsPerPixel, PixelXDimension, PixelYDimension,
DateTimeOriginal, DateTimeDigitized, SubSecTime, SubSecTimeOriginal, SubSecTimeDigitized,
ExposureTime, FNumber, ExposureProgram, SpectralSensitivity, ISOSpeedRatings, OECF, ShutterSpeedValue, ApertureValue, BrightnessValue, ExposureBiasValue, MaxApertureValue, SubjectDistance, MeteringMode, LightSource, Flash, FocalLength, SubjectArea, FlashEnergy, SpatialFrequencyResponse, FocalPlaneXResolution, FocalPlaneYResolution, FocalPlaneResolutionUnit, SubjectLocation, ExposureIndex, SensingMethod, FileSource, SceneType, CFAPattern, CustomRendered, ExposureMode, WhiteBalance, DigitalZoomRatio, FocalLengthIn35mmFilm, SceneCaptureType, GainControl, Contrast, Saturation, Sharpness, DeviceSettingDescription, SubjectDistanceRange,
GPSVersionID, GPSLatitudeRef, GPSLatitude, GPSLongitudeRef, GPSLongitude, GPSAltitudeRef, GPSAltitude, GPSTimeStamp, GPSSatellites, GPSStatus, GPSMeasureMode, GPSDOP, GPSSpeedRef, GPSSpeed, GPSTrackRef, GPSTrack, GPSImgDirectionRef, GPSImgDirection, GPSMapDatum, GPSDestLatitudeRef, GPSDestLatitude, GPSDestLongitudeRef, GPSDestLongitude, GPSDestBearingRef, GPSDestBearing, GPSDestDistanceRef, GPSDestDistance, GPSProcessingMethod, GPSAreaInformation, GPSDateStamp, GPSDifferential,
To view or find pictures not only the “directory panel mode” can be used, but there are twelve further view modes. You can choose them from the main menu, or with the “shit-F1”, ... “shift-F12” keyboard command. By clicking on a small picture it will be shown in full size, and the next click will return to the previous view. The pictures can be selected by pressing the "Ctrl” or the "Shift” button and mouse click. The selection will be marked with red border. The pictures can be grabbed and replaced with the mouse.
Zooming in-out and rotating pictures with mouse:
Zooming in with mouse:
- Push the right button at top-left corner of the rectangle wanted and hold it down until you go to right-bottom corner.
- Push the left button at the midle of the rectangle wanted and hold it down.
Zoom out with mouse:
- Push the right button at the midle of the rectangle wanted and hold it down.
Rotating with mouse:
- Hold down the "Ctrl"-button on keyboard, and take the picture by a corner and move it.
Cutting a picture with mouse:
- Select the rectangle wanted with shift+ left-mouse button. You can correct it with arrow or shift+arrow buttons. If it is ready press Enter! Now your picture is in memory. Save it!
Converting pictures ( *.tif -> *.jpg ):
The pictures will be converted at copy operation after a question, if the extension part of the new filename declares another file type. For example: select *.tif files, and copy them with file: %f.jpg. (see: copy, move, ...)
Resizing, rotating,... multi pictures in one step:
It is very easy to edit a lot of pictures with a
single command. First select the pictures, than press "S”
on the keyboard (or select the command from the main menu). You will
see the panel shown on the left. It offers four operations: resizing,
elongating, skewing, rotating. Mark the desired operations and set
their parameter. In the “dir:” field give the name of the
destination directory. In the “file:” field use macros.
( for example: overwrite files with their original name: dir=.
file=%f%e, names in ordinal number %+(001).jpg, ...).
Making and rearranging presentation-list of pictures:
Select a view mode with the “shit-F3”, ... “shift-F12” keyboard command. The pictures can be selected by pressing the "Ctrl” or the "Shift” button and mouse click. The selection will be marked with red border. The pictures can be grabbed and replaced with the mouse. “K” keyboard command can help you with selection. You can use the “Del” keyboard command to delete unwanted pictures from the list. (For example: you can select a few pictures to show in a list, than press “K”, “inverse selection”, “Esc”, “Del”)
The list can be saved with the “L” keyboard command. Use “.lst” extension. The lists like this can be loaded with a mouse click on their name in the directory panel, or with right mouse click on the long button of the main menu, but can be loaded with command line options too.
For example a list like this can be shown as slide show with the "ng-xim -w -s -t=5 -c=12 /home/user_x/pictures/presentation-list.lst” command.
Copying or moving pictures into a collection:
This program can manage the pictures as collections. This is a new way, and is very helpful wherever there are many pictures.
Editor commands for the pictures of collections:
- alt-Ins: read a picture from scanner
- ctrl-Ins: read a picture from file (The current will be overwriten!)
- shift-Ins: overwrite picture (with just edited)
- ctrl-shift-Ins: duplicate picture
- ctrl-Del: delete picture
Table mode ( find or sort by date, place, title or other features )
The program will go to the table mode shown here,
if the current directory belongs to one of the picture collections,
by the “F4” keyboard command.
The bottom, left and right edges of the picture can be grabbed and moved with the mouse. So you can set the size of the table and the picture.
The rows of the table are the data of a picture, the columns are the features (For example: number, place, date, ...). The appropriate picture will be shown by a mouse click on a row. By clicking on the small picture it will be shown in full size, and the next click will return to the table view.
You can sort the collection by any column of the table. The columns can be resized or moved by the mouse. The values in the cells of the table can be edited after the second click on the cell. You can copy the cells by grabbing them with the mouse at the right bottom corner.
You can use the “find”, “replace”, “macro” and “list of words” commands to fill or edit the table. Two popup menu could help this work too. One of them at right click on the header of table, and the other at the cells.
You can quickly find pictures by theirs features with the help of the area at left from the picture. In the first row of this area select a feature (for example: date). The list bellow the feature shows all the values. Click one of them and you will see the first picture with this value. In the first row of the table there will be the data of this picture, and the rows will be sorted by this column.
Map mode ( find pictures by geometrical position ):
The program will go to the map mode shown on the left, if the current directory belongs to one of the picture collections, by the “F6” keyboard command.
This mode is helpful for collections where the geometrically position of pictures is typical. So you can find or select pictures by position.
When there isn't any map assigned to the current collection, a question arises:
"This collection hasn't any map. Do you choose one?”
You can select the desired picture as a map by a file selection panel which came up after the yes answer. If you already have the map, press down the “place” button, and you can place the pictures on the map with a mouse click.
The pictures already placed will be marked on the map with a blinking cross.
If the “select” button is in pressed state, you can see the pictures by clicking on their mark. By clicking on the small picture it will be shown in full size, and the next click will return to the map view.
The pictures on the map can be marked
with 6 different colours, depending on the value of a flavour.
A popup menu will be seen on clicking on the second row at the top left of window ( marks by value of “…” ). With this menu you can select the desired feature (for example "date”). There are 6 fields below this. The color can be selected by clicking on the “+” button, the values can be selected by a popup menu.
Selecting from pictures:
The panel shown on the left appears by the “F7”
It is helpful to select pictures of a collection by their features.
The panel shown on the left appears by the “R”
keyboard command. It is helpful to sort pictures of a collection by
The first field gives the kind of sorting. The second field gives the feature for the sorting.
You can use three different sort modes, and each of them can be ascending and descending.
For example let's take sort of A-1, A-2, A-3, A-10, A-11, B-1, B-2, B-11 values:
A-1, A-2, A-3, A-10, A-11, B-1, B-2, B-11
ABC – ascending:
A-1, A-10, A-11, A-2, A-3, B-1, B-11, B-2
Number – ascending:
A-1, B-1, A-2, B-2, A-3, A-10, A-11, B-11
We can make a sort like this with the help of the popup menu by clicking on the column header in the table mode too.
It is very easy to make html pages with table of contents and to find surface from picture collections. Press “F10” keyboard command or choose the appropriate command from the main menu.
Click here to see a short description (For demonstration this made by ng-xim.)
You can download this as a collection for the ng-xim program here.
Comparing and filtering duplicated or same pictures:
Select a picture collection and press "Q” keyboard command. You can choose the extent of likeness on the panel. The program will find a list of all of the duplicated pictures.
The "t” or "T” keyboard command will find and list the pictures like to the current picture.
Sound and video files:
Sound file editor:
For audio playing you need to install Mplayer program too!!
Click on the name of an audio file on the directory panel and the play will start. In a mp3 files the ID fields can be edited.
The waveform of the file will be drown by the "Clipboard" button.
Video file editor:
Click on the name of a video file on the directory panel and the play will start.
Download package with the first demo collection (about 1.5 Mbyte):
For video and audio playing you have to download FFMPEG libraries too:
(The source to this packages you can find on the page of FFMPEG )
Please write me your opinion! (So you can get a newer version of this software.) Send a letter
On Windows download install-ng-xim-english.zip file, and unpack it to “c:\” . You can start the program as “c:\ng-xim\ng-xim.exe”.
At upgrade before unpacking you have to delete the old ng-xim.exe file! (For upgrade you can download only the ng-xim.zip file.)
For audio and video services you need to download the ffmpeg_dlls.zip package too. Copy all files from the zip package into the “c:\ng-xim” directory. (The source files for this packages you can find at FFmpeg home page)
To save audio in ogg format, you need to download oggenc program too.
If you have raw photo files, you need to install DCRAW program too!
(You can find a dcraw.exe for example at http://www.lebsanft.org/blog/index.php?cat=9 . To use dcraw.exe, you need to download the cygwin.dlls too! )
Please write me your opinion! (So you can get a newer version of this software.) Send a letter