Image Formats

But which image format should I take?

Since we see a lot of people choosing the wrong image formats on a daily basis, we have created a short cheat sheet for you. Though JPEG is probably the easiest way to archive your pictures, there are several incentives to choose another image format depending on the image content or purpose. (You can also download the cheat sheet)

Image formats for photos
Image formats for photos
Image formats for illustrations
Image formats for illustrations

– the nomacs team

Nomacs & Archives

nomacs supports zipped archives since version 2.2. Hence you can simply drop a zip archive to nomacs and then browse all images in the archive. Fair enough, but the really cool feature, is that you can browse through all images of Microsoft Office documents by simply dropping the files to nomacs. In addition, we have added a tool (Tools > Extract From Archive) which allows to extract all images from Archives to a folder.

Adding new file formats

Since the last release we are getting more and more requests if we can support different file formats. Apparently it turned out, that we already support most of them but we have not added the file extension to our file filter. This is especially true for RAW formats of image files, we just simple don’t know all extensions of all manufacturers and we don’t have sample images from all of them for testing.

But there is a simple solution: you can easily try to add new files formats to nomacs. You just have to use File -> Add Image Format – this opens a dialog where you can drop (or load) your images and nomacs will tell you if the file extension is supported. If it is supported it will display the image. After adding the file format you can use our File Filter settings in the preferences dialog to set nomacs as default viewer for these images. If you have successfully added a new file format, please drop us a note in our bug tracker and we will add the extension to nomacs. If nomacs is unable to load you file format, please add a new feature request. If possible attach also the image to the request so we can test it easily.

— the nomacs team

2.0.2 supports .vec file

In 2.0.2 (we just noticed that we are now the half of not found : )  a new feature was introduced which is very useful for us and we think it may be useful for those of you who also work in the computer vision field. We are now able to load the .vec file of the OpenCV Cascade Classifier. So you can easily control if the patches you trained, or the patches OpenCV created automatically are correct. Of course we have not added the .vec extension to the default settings of nomacs, because there exists a lot of other vec files. Thus, you have to add the extension to nomacs manually. You can do this by opening the “File” -> “Add Image Format”  dialog. Then you can drag&drop your file into the dialog or use the browse to the file.

add-formatsAfter clicking add you have to name the new file format. After that you can open your .vec files with nomacs.img-2014-07-31 09.22.22Due to some limitations of the fileformat nomacs assumes that the patches are square and thus if you open a file containing non-square nomacs is unable to load it. If you want to use non-square patches you have to specify the size in the file name. You can do this by adding “-w[width]-h[height]”. So for example you have to name your file “samples-w35-h25.vec”. Have fun with this feature and may it simplify your training step

— the nomacs team

Why webP

according to a feature request from dadatamada we took a closer look to the webP format. the screenshot shows a nightly build of nomacs with webP load/save functionality. if an image needs to be compressed, webP shows a far better image quality while decreasing the file size. note that the jpg compressed image (right) has 16.6 KB while the webP image only needs 6.8 KB. another advantage is the fact that webP features a full (8bit) alpha channel and supports lossless compression…

why webp