whirlpool6 Posted August 15, 2007 Share Posted August 15, 2007 is it possible to enhance image quality of a scaled down image? is this possible in css? scanned documents loose its quality when they are shown at smaller proportional sizes. i want at least to retain some of its original qualities.... thanks guys Quote Link to comment Share on other sites More sharing options...
ToonMariner Posted August 15, 2007 Share Posted August 15, 2007 nope the best you will get is what you can do with yoru local image manipulation app - like photyshop etc... once something is done - its virtually impossible (unless you are the FBI) to improve the quality. Quote Link to comment Share on other sites More sharing options...
whirlpool6 Posted August 16, 2007 Author Share Posted August 16, 2007 im not really into that FBI/CSI thing where something not there appears after zooming images... but what im interested in is on the zoom out. when i zoom out the image, noise appears. i want that when i zoom out images at suitable percentages, they are still clear and is readable (quality loss is minimized). Quote Link to comment Share on other sites More sharing options...
TheFilmGod Posted August 16, 2007 Share Posted August 16, 2007 Well you got to first know what format to use. Sometimes png is good and sometimes you must use jpeg. As a rule of thumb, anything that is a "Picture," with lots of colors use jpeg, otherwise stick with png. A great photo editing software is corel paintshop XI its not as good as photoshop but simple and will get the same things done, but in a much cheaper price!!! Quote Link to comment Share on other sites More sharing options...
whirlpool6 Posted August 16, 2007 Author Share Posted August 16, 2007 we use jpeg files. im interested in either a css or javascript code for this. there must be something out there that can solve this. i just dont know where to find one... Quote Link to comment Share on other sites More sharing options...
ToonMariner Posted August 16, 2007 Share Posted August 16, 2007 you get the noise because your are trying to make a 200px wide image 100px wide. just create a new image that is 100px wide. rendering a web page does not use the same 'magic' that you have in MS word where the image is resized and still maintains a crispness. The web wes designed to pass info all over the shop and to that end jpg's were developed to do this for images - the file saize had to be small as everyone was on dial up etc. SO the web thinks that if you want a small image you would make a small image - it would be stupid to make an image that had a filesize any larger than it has to be.... Quote Link to comment Share on other sites More sharing options...
whirlpool6 Posted August 17, 2007 Author Share Posted August 17, 2007 oh im really not good at this. when you say "just create a new image that is 100px wide.", what exactly do you mean? how can this be done programmatically? im using php with javascript in here. thanks a lot... Quote Link to comment Share on other sites More sharing options...
ToonMariner Posted August 18, 2007 Share Posted August 18, 2007 you will need to utilize the gd library - have a look @ imagecopyresampled in teh manual http://uk.php.net/manual/en/function.imagecopyresampled.php Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.