Hmm ok. I will try to do that. Thanks for help. Kadir Avcı | Software Developer Freelance Web Designer web: www.kad1r.com mob: +90 555 676 9793
On Fri, Aug 21, 2009 at 10:32 AM, Wyrm <[email protected]> wrote: > > Well, there IS a bit of work to make this "dynamic", but "crop and > resize"... among other transformations... are available or can be > developped through GDI+ librairies. > It may not be very intuitive, but it can be done. > > On 20 août, 21:00, Kadir Avci <[email protected]> wrote: > > But I want to do this dynamically. I have an e-commerce portal. When > admin > > enter products images he or she can choose the sizes and they can crop > the > > images. Up to here just one component can do this. And it is rad active > > iload. > > > > Kadir Avcı | Software Developer > > Freelance Web Designer > > web:www.kad1r.com > > mob: +90 555 676 9793 > > > > > > > > On Thu, Aug 20, 2009 at 3:49 PM, Wyrm <[email protected]> wrote: > > > > > Hello! > > > > > You can resize pictures with GDI components. (System.Drawing > > > Namespace) > > > Hence, with the "Graphics" object... > > > > > Dim original As Bitmap = [your picture here] > > > Dim result As New Bitmap(width, height) > > > result.SetResolution(xRes, yRes) > > > Dim graph As Graphics = Graphics.FromImage(result) > > > graph.InterpolationMode = > > > Drawing2D.InterpolationMode.HighQualityBicubic > > > graph.DrawImage(original, _ > > > New Rectangle(0, 0, width, height), _ > > > New Rectangle(0, 0, picture.Width, > > > picture.Height), _ > > > GraphicsUnit.Pixel) > > > result.Save(stream, _codec, _encoderParams) > > > > > On 20 août, 11:15, Kadir Avci <[email protected]> wrote: > > > > Hi. I need image resizer for vs2008. I know the best one is rad > active > > > iload > > > > but I don't have enough money to buy. > > > > Do you know free component for image resize? > > > > Thanks. > > > > > > Kadir Avcı | Software Developer > > > > Freelance Web Designer > > > > web:www.kad1r.com > > > > mob: +90 555 676 9793 > > > > Sent from Izmir, 35, Turkey- Masquer le texte des messages précédents > - > > > > - Afficher le texte des messages précédents - >
