BV Commerce Forum
»
BV Commerce Support
»
General Support
»
45: Image Resize produces bad quality images
Rank: Member
Joined: 8/17/2006(UTC) Posts: 681
|
Guys,
Could you please replace the Image Resize algorithm? It produces incredible bad quality images right now.
Have a look at resizing using Graphics -> InterpolationMode.HighQualityBicubic The produced image quality is much better.
Regards,
Corneliu. |
|
|
|
|
Rank: Member
Joined: 3/1/2006(UTC) Posts: 1,142
|
We use the GetThumbnailImage method on the Image object. This method can either create a resized image or simply pull a thumbnail image from the image that you have fed into it. Most digital cameras will embed a thumbnail image into the image file that is very small, and so when you go to resize it the result looks terrible. Try opening your image file in an image editing program and then resave it. Most image editing software will remove the embedded thumbnail and will allow the GetThumbnailImage method to do its own resizing. |
Justin Etheredge Senior Software Engineer BVSoftware |
|
|
|
Rank: Member
Joined: 11/17/2003(UTC) Posts: 2,051
|
Justin, GetThumbnailImage is an awful method to create thumbnails. As Corneliu said, it's the bottom of the barrel. You can get much better results out of different methods. I've got some pretty fantastic stuff I use in my ImageGallery add-on, and would be happy to share them with you if you want to include them in future releases. |
|
|
|
|
Rank: Member
Joined: 3/1/2006(UTC) Posts: 1,142
|
Well, we are releasing an update tomorrow, so nothing is going to make it in then. But we would like to update the algorithm at some point. And yes Al, if you have some code you would like to share with us then we would be most grateful, but as always, I can't promise what will and will not make it into a service pack or future release. |
Justin Etheredge Senior Software Engineer BVSoftware |
|
|
|
Rank: Member
Joined: 11/17/2003(UTC) Posts: 2,051
|
No problem. I'll package up some stuff for you soon. The routines I use can handle all kinds of image types and resize them very nicely (and even maintain transparencies). |
|
|
|
|
Rank: Member
Joined: 3/1/2006(UTC) Posts: 1,142
|
|
Justin Etheredge Senior Software Engineer BVSoftware |
|
|
|
Rank: Member
Joined: 8/28/2004(UTC) Posts: 463
|
The image gallery Al made truly does a fantastic job with resizing images and getting good quality vs file size. Nearly or even equally as good as Photoshop can do it... I for one would LOVE to see those algorithms built in. That could even be a selling point, I don't think any e-commerce packages can resize images very well...one more step above the rest, know what I mean? Just wanted to put in my 2 cents, cast my vote, whatever...would be a good addition. |
|
|
|
|
Rank: Member
Joined: 12/23/2003(UTC) Posts: 909
|
I have to hop in and vouch for Al's expertise on the matter. While testing the gallery over the phone with Al, he may recall the sound of my jaw hitting the desk when I did the first run through on the resize. Couldn't believe the quality vs. file size!! |
|
|
|
|
Rank: Member
Joined: 4/22/2004(UTC) Posts: 280
|
Hear, hear!
Another vote for improved image resizing. It's a HUGE factor in presenting a great site. I'd love to see that make it into the SP sooner rather than later.
Linette
|
|
|
|
Rank: Member
Joined: 9/24/2003(UTC) Posts: 402
|
I didn't even realize there was a potential for a better option. It would be a tremendous time saver for sure, right now there is no choice but to create these images in Photoshop which greatly increases the time to enter each product.
Sooner rather than later would be a huge help.
|
|
|
|
Rank: Member
Joined: 8/17/2006(UTC) Posts: 681
|
BTW, Talking about image resizes, I changed my product input so that you can enter only the medium image. That will automatically create a small image, will update the small image, will check if the entered medium image is larger than the standard medium image, if yes, it will create a medium image as per the medium image specifications and move your original medium image to Aditional Images. This means I do one select for a high quality image and I get one small, one medium and the high quality image attached with one click. I can share the code after I merge the 5.01 patch if anyone is interested. |
|
|
|
|
Rank: Member
Joined: 8/28/2004(UTC) Posts: 463
|
That sounds very cool. I might contact you shortly about that...not ready for images just yet but in the next week I might have a great need for such ease of uploading...Thanks for sharing! |
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.