LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Automaticlly resizing pictures for website? (https://www.linuxquestions.org/questions/linux-software-2/automaticlly-resizing-pictures-for-website-225735/)

fredgt 09-02-2004 11:04 AM

Automaticlly resizing pictures for website?
 
What is the best program to automaticlly resize pictures (from a digital camera) for use on a website?
The resolution of the jpg's is to high they take to much space

Wide glide 09-02-2004 11:28 AM

Imagemajic or GD2 should do that for you.;)

AnanthaP 09-02-2004 12:31 PM

Say you want to resize a picture to 100 x 100 pixels.

(1) say the target image is so:
<img id=MizePic Name=MizePic width=100px height=100px>

(2)
Write a javascript fuction like so:
function MakeMe(MyArg) {
// alert(MyArg) ;
MizePic.src=MyArg ;
}

(3) Call the function MakeMe with your picture as the argument (MyArg).

HTH

End

Cerbere 09-03-2004 02:45 AM

man convert

Enjoy!
--- Cerbere


All times are GMT -5. The time now is 08:20 AM.