Picture Stamper 2.0.0 Released!

Just released Picture Stamper Version 2.0.0. Here is a brief list of changes:

  • Added Drag and Drop (Now you can simply drag and drop images and folders to add them in Picture Stamper)
  • Added more file type support (*.bmp *.dib *.jpeg *.jpg *.jpg *.jp2 *.png *.webp *.pgm *.pbm *.ppm *.sr *.ras *.tiff *.tif *.xbm *.xpm)

Picture_Stamperxcf

Head to Picture Stamper page to download this latest release.

How to get screen size in Qt

Qt includes a very simple method to get the size of the screen (width and height). Here it is:

QSize size = qApp->screens()[0]->size();

Note that this function works perfectly in Android and iOS too.

Another thing to note is that if you replace [0] with 1, 2, 3, … you can access other monitors (if there are any) on desktop computers.



How to correctly read Mat images with special characters in filename

You might have noticed that trying to read images that have special characters (such as Ü, Ö or other non-Ascii characters) with imread function in  OpenCV will lead to crash. I noticed this while trying to open files with special Turkish characters (but I assume it is the same with Spanish, French, German or any other languages.) If you are using Qt, you are lucky because there is a workaround.

Continue reading “How to correctly read Mat images with special characters in filename”

Whirling Compass

Shams

The universe said: I do not have any power over your whirling [,why?]

I answered: It is such a “Point” that made me a compass.


Rumi, Diwan-e Shams-e Tabrizi