Can a JPEG compressed image be rotated without a loss in quality?

There is a program named jpegtran jpegtran – a utility for lossless transcoding between different JPEG formats. To rotate the image losslessly, you can do the following: $ jpegtran -rotate 180 -perfect -outfile rotated.jpg origin.jpg And Here is a list of applications which provide the JPEG lossless rotation feature based on the IJG code

what are sparse voxel octrees?

Here’s a snippet about id Software on this subject. id Tech 6 will use a more advanced technique that builds upon the MegaTexture idea and virtualizes both the geometry and the textures to obtain unique geometry down to the equivalent of the texel: the Sparse Voxel Octree (SVO). It works by raycasting the geometry represented … Read more

Polygon Triangulation with Holes

To give you some more choices of libraries out there: Polyboolean. I never tried this one, but it looks promising: http://www.complex-a5.ru/polyboolean/index.html General Polygon Clipper. This one works very well in practice and does triangulation as well as clipping and holes holes: http://www.cs.man.ac.uk/~toby/alan/software/ My personal recommendation: Use the tesselation from the GLU (OpenGL Utility Library). The … Read more

How were graphical DOS Games written? [closed]

Assembler, Pascal and C were popular languages. Graphics were generated by directly interfacing with the display hardware, for instance the Color Graphics Adapter. (CGA) Probably there were libraries, but not like today, and libraries were often not shared outside a company. A resource which would have been relevant in say, 1988, can be found here: … Read more

How to recognize rectangles in this image?

Opencv (image processing and computer vision library written in c) has implementation for hough transform (the simple hough transform find lines in an image, while the generalized one finds more complex objects) so that could be a good start. For the rectangles which do have closed corners there are also corner detectors such as cornerHarris … Read more

tech