I made some test to use the System.Drawing classes included in the .Net
Gdi+ API. It allow us to rotate, crop, or thumbnail photos with a very
few lines of code. It's simple and maybe useful to drop dependency over
the libspot.dll or libjpegtran.dll.

But for the moment it seems that quality isn't there. Rotating a jpeg
photo greatly decrease it's quality. 

I don't know what is the status of the System.Drawing API, but if the
quality improve with the 1.0 release of mono it could be interesting to
move to this for photo manipulations.

Comments are welcome.

MOREAU Vincent <vmoreau orange fr>

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]