Home » Posts tagged 'optimization'

Tag Archive


3D model C++ COLLADA compilation components compression computer vision css drag selection example html image processing images Info.plist instanced geometry JavaScript jpegtran jQuery JSON Leaflet library Mac OS X maps media OpenCV open source optimization php QGraphicsItem QGraphicsScene QGraphicsView QImageWriter qmake QSignalMapper qt rubberband selection rubber band selection sketchup static analysis STL tool UX wordpress XBMC zip

Qt Patches: QGraphicsView & QImageWriter

QGraphicsView Two and a half years ago I wrote about a UX bug with QGraphicsView where it would reset the selection in the view if you tried to extend it with a rubberband selection. I have been using those changes in the version of Qt I maintain for my software. I finally took the time […]

     

Running jpegtran From a Qt Application

Continuing on with my obsession with smaller images, I thought I’d give an example of how to include jpegtran with your Qt app and how to call it using QProcess to optimize jpegs. Why do this? The use-case I had was that I was downloading images from the net from within my application and I […]

     

QImageWriter and Writing JPEGs

If you are using the QImageWriter class in Qt to write JPEG files, you may have noticed that it creates large files. For example, saving out a capture of a window in my app resulted in a 332 kB file. If I run that through ImageOptim [mentioned previously], this is reduced to 266 kB. Huh? […]

     

ImageOptim

ImageOptim is a cool tool by Kornel Lesiński for Mac OS X used to optimize images. Why would I want to do that you ask? It reduces the size of images so they take up less disk space. This means if you are working on a website, it will load a little faster for your […]