• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Image scaling
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Image scaling


  • Subject: Re: Image scaling
  • From: Marek Wawrzyczny <email@hidden>
  • Date: Fri, 6 Aug 2004 13:26:00 +1000

Ummm... are you after scaling the image as in actually reducing the image size or specifying the html image dimensions?

WOImage Static inspector parameters specify the html image dimensions. This will not reduce the image size. So, say you're pulling a 1Mb image out of your database, the html browser will download a 1Mb image no matter how you scale the image.

If you want to reduce the image size, you will have to do that in Java... preferably at the point of image insertion into your db. There are many third party image manipulation frameworks, packages, classes. We do this with jpegs in one application using java.awt.Image, java.awt.image.* and com.sun.image.codec.jpeg.* classes. Google will be your friend here.



On 06/08/2004, at 03:27, Erwin wrote:

I've been searching in archives some 'old' info about it... some coding is still necessary ?

I'm using WO 5.2.3 and I can see a Scale input field in the WOImage Static inspector what for ?
how I should enter a 50% factor ? I tried 0.5 50% but no effect
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.




Marek Wawrzyczny

software engineer
-------------------------->
ish group pty ltd
http://www.ish.com.au
7 Darghan St Glebe 2037 Australia
phone +61 2 9660 1400   fax +61 2 9660 7400
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.


References: 
 >Image scaling (From: Erwin <email@hidden>)

  • Prev by Date: Re: IBM does it... why not Apple?
  • Next by Date: Re: Count the number of times a component is loaded
  • Previous by thread: Image scaling
  • Next by thread: Reporting tools
  • Index(es):
    • Date
    • Thread