R2i DotNetNuke® Forum

R2i wants you to have the opportunity to ask questions, post reviews, help others or just rant and rave about DotNetNuke® or any of the R2i Modules and Skins. Our team spends hour upon hour, day after day, working on custom DotNetNuke® modules and services; please feel free to ask us anything.
 
ListX image resize request
Last Post 01 Jan 1900 05:00 AM by . 2 Replies.
Printer Friendly
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages Informative
maddogUser is Offline
New Member
New Member
Posts:3

--
17 Oct 2006 03:01 AM  
Hi, We've been using ListX for a project and have been very happy with it. ListX does what XMod can't.

I have one question, which may be a request for a small product enhancement. We're using the image upload and resize - works just how we need it. One problem though, is that in addition to resizing the image for width and height the resize seems to be adding Jpeg compression as well. As a test, if we re-upload an image (already sized) the image degrades, i.e. further jpeg compression. The problem for us, is that some images look fine and some are too pixellated after an upload.

So, would it be possible to add an option to control the amount of Jpeg compression (in our case we would leave it at 100%). This is functionality that we were using in the "FatGeorge File upload" - an Xmod module, prior to switching to ListX.

Thanks very much, Nick
kevinmschreinerUser is Offline
Advanced Member
Advanced Member
Posts:729

--
18 Oct 2006 07:15 PM  
ListX autmatically determines which type of compression to use, based on the Target file extension. If the target file width and height match that of the original, no encoding takes place, and the file should be retained as is, however, if any scaling is requested, it will pick either JPEG,PNG or GIF encoding. For the example of JPEG, we are really just using "highest quality" for the Compositing and Interpolation mode, but have experienced the same amount of loss in our own projects. I will look into enhancing the behaviour, but I have a solution which will work for you. For our projects, we actually set the Target extension of all of our thumbnails to PNG. This is because the .NET library produces a much nicer PNG thumbnail that of the other formats, without modification of the specific quality settings.

Give it a try, all you need to do is add .png to the destination (target) filename.
maddogUser is Offline
New Member
New Member
Posts:3

--
19 Oct 2006 03:01 AM  
Kevin,

It works as you said. Image quality is much better with PNG (file sizes are bigger too - but you can't have everything).

Thanks for your help,

Nick
You are not authorized to post a reply.

Active Forums 4.1
 

New York, NY • Baltimore, MD • Vienna, VA • St. Louis, MO • Seatle, WA • 410.327.0007 • info@R2Integrated.com

Bookmark & Share Bookmark and Share