LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 09-02-2004, 11:04 AM   #1
fredgt
Member
 
Registered: Feb 2004
Location: Belgium
Distribution: Suse 9.1 Pro / Gentoo
Posts: 114

Rep: Reputation: 15
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
 
Old 09-02-2004, 11:28 AM   #2
Wide glide
LQ Newbie
 
Registered: Jan 2003
Location: Venice Beach, Ca
Distribution: Debian, Fedora, Freebsd, Windows 95
Posts: 3

Rep: Reputation: 0
Imagemajic or GD2 should do that for you.
 
Old 09-02-2004, 12:31 PM   #3
AnanthaP
Member
 
Registered: Jul 2004
Location: Chennai, India
Distribution: UBUNTU 5.10 since Jul-18,2006 on Intel 820 DC
Posts: 637

Rep: Reputation: 140Reputation: 140
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
 
Old 09-03-2004, 02:45 AM   #4
Cerbere
Member
 
Registered: Dec 2002
Location: California
Distribution: Slackware & LFS
Posts: 799

Rep: Reputation: 33
man convert

Enjoy!
--- Cerbere
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to start KDE automaticlly without typing "startx" then "startkde" Jonescity Slackware 8 10-29-2004 09:32 PM
visit linux web from windows, the site couldn't execute "index.html" automaticlly Meditator Linux - Networking 3 03-20-2004 11:10 AM
Resizing Pictures command line eggoz Linux - General 2 02-29-2004 06:38 PM
Resizing pictures dancar Linux - General 3 02-24-2004 05:22 PM
How To Automaticlly Mount Network Shares? RedHatMN Linux - Networking 1 07-21-2003 04:57 PM


All times are GMT -5. The time now is 03:37 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration