2005-07-08, 06:02 AM
Quote:- Read about the rotate function and thought if it would be possible to do an automatical rotate (just for display) of jpg images according to their rotation info found in the EXIF info. I just have to many images from my Digicam which are not rotated correctly but that have the info in the EXIF Data.ill look into this once all the basic are working.
Quote:- And then one more general thing. You said something about a complete redesign of the skin.xml files. Could you insert a possibiliy to deactivate some of the buttons, that can not be used if you have your PC in another room than your TV set (like all the ripping buttons in the myMusic and MyVideo plugins) or for someone like me who is just not interested in using them.yeah as i slowly update the other plugins ill make the menus configurable (ill put this on the todo list for my pics).
on a side note, just to let everyone know whats working
- zoom ! it works how you would expect it to (big thanks to smeghead and Heyt for their help on this, its a lot trickier than you would expect).
- folder.png are now automatically generated if a folder is missing a folder image. ie the 2x2 image thumbnail, displaying the first 4 images found as the folders image (err just like windows does it), i decided to use .png to keep the transparency.
- panning is working correctly aswell, like you can no longer pan off way to the side so the picture is no longer seen (it will stop you from going past the edges).
whats not working exactly how i would like it
- transistions on larger images, its slow and looks ugly. if anyone has got any knowledge/experience on how to improve the transistion let me know, the current code does a loop from 1.0f to 0.2 with step 0.1f and then 0.2 to 0.5f with a step of 0.05f.
then using that step
Code:
//Set alpha in the ColorMatrix
colorMatrix.Matrix33 = 1.0f - transparency;
// Set color matrix of imageAttributes
imageAttributes.SetColorMatrix(colorMatrix,ColorMatrixFlag.Default,ColorAdjustType.Bitmap);
and then the paint method
Code:
Graphics.FromImage(compositeScreenImage).DrawImage(image, ScreenImageRect, srcx, srcy, (int)Math.Round(srcwidth), (int)Math.Round(srcheight), GraphicsUnit.Pixel, imageAttributes);