Go to Otherpower.com Home Page Go to Forcefield Shopping Cart Go to Wondermagnet.com Home Page
Front Page - [Homebrewed Electricity-- (wind) (solar) (hydro) (steam) (controls) (storage) (mechanical)] - Classifieds - Site News
Everything - Newbies - [Remote Living-- (housing) (heat) (light) (water)] - Rants & Opinion - Diaries - Our Products
Suggestion for pics


By johnlm, Section Rants & Opinion
Posted on Wed Jul 28th, 2004 at 10:01:18 PM MST
big pics are a pain in the hiney

I realize many folks have nice multi-megapixel digital cameras which take nice LARGE detailed pics.   However when posted they do not fit the normal screen format.  The posting suggestions say to use smaller (640X480 or maybe 800X600 pixel) pics.  I assume many folks dont have (or dont want to take the time to use) a picture viewer / manipulator program.  I downloaded a nice free-ware pic viewer program some time back that has many capabilities including reformatting pics to whatever size you want as well as many editing and effects capabilities.  The program is called
IrfanView and can be found at

 www.irfanview.com

Please consider using this program to make your posts more readible.

In memory of TomW

Johnlm

Suggestion for pics | 6 comments (6 topical, 0 editorial)

Re: Suggestion for pics (3.00 / 0) (#1)
by Matrix1000 on Wed Jul 28th, 2004 at 10:33:06 PM MST
(User Info)

Hi, to post pictures full size after uploading them to the board, just click the "Insert Picture" button.

In the HTML code that is automatically placed in the Comment: box just delete "width=80%" and your picture will be posted full size :)

(for those that didn't already know :)



Re: Suggestion for pics (3.00 / 0) (#3)
by TomW on Thu Jul 29th, 2004 at 11:25:19 AM MST
(User Info)

matrix;

Gee thanks. Did you perhaps consider that the code is there for a reason?

Uploading megabyte pics in monster sizes is pretty unfriendly to the large portion of users on dialup and full sizing the pics really messes it up for folks who don't use 23" studio monitors like myself on this laptop.

T

"Education consists mainly of what we have unlearned."--Mark Twain
[ Parent ]



Re: Suggestion for pics (3.00 / 0) (#2)
by ADMIN (info74 at otherpower.com) on Thu Jul 29th, 2004 at 11:14:53 AM MST
(User Info)

Coming here SOMETIME will be some software that re-sizes pictures automatically. It's some serious custom code, though, but we are working on it. We have ImageMajick installed on our servers now, and that was the first step. It's a command-line image program that can be called up from a PERL script.
ADMIN



Re: Suggestion for pics (3.00 / 0) (#4)
by bill541 on Tue Sep 7th, 2004 at 10:18:47 PM MST
(User Info)

Just my two cents here...

I try and keep all pictures under 50K if possible. The problem I have with automatic resizing is it can really destroy circuit diagrams. For the most part GIF immages work great for diagrams and other low color resolution immages.

Automatic Jpeg compression of bitmap immages would be a good thing.

Maybe if you could trigger the software based on file size and resolution, rather than just on resolution alone.

Perhaps if you treated all pictures the same and made thumbnails out of them, then the reader could expand them if desired.

My machine is on a very small diameter hose here (26,400 if I'm lucky), and I can appreciate any effort to control the immage loading times.

-Bill-

P.S. My hat is off to you for having one of the best run and easiest to use forums around. Thanks again and keep up the good work!

[ Parent ]



Re: Suggestion for pics (3.00 / 0) (#5)
by jacquesm (j@ww.com- I run a whitelist, add 'stjoes' to msg) on Tue Sep 7th, 2004 at 10:32:03 PM MST
(User Info) http://www.greenbits.com/

if this server is on a linux box (or some other *nix) then you could try the folloing 'postprocess' script to auto-resize uploaded images: #!/bin/sh djpeg $2 | pnmscale -xres=480 | cjpeg > out.tmp.jpg mv out.tmp.jpg $2 chmod 755 on the file and stick it somewhere where the webserver can see it in it's path or provide an absolute path. Depending on how things are set up the djpeg, pnmscale and cjpeg commands could need absolute paths as well. that should do it. pnmscale is part of Jeff Postkanzers' 'pbm' package and is pre-installed on many machines, djpeg and cjpeg are standard tools, but if you don't have them simply download jpeg-6, make and make install and they will be placed in /usr/local/bin regards Jacques.
www.greenbits.com
[ Parent ]


Re: Suggestion for pics (3.00 / 0) (#6)
by jacquesm (j@ww.com- I run a whitelist, add 'stjoes' to msg) on Tue Sep 7th, 2004 at 10:33:08 PM MST
(User Info) http://www.greenbits.com/

sorry for posting this twice, that was supposed to be 'plain text', there goes my formatting, on error retry :

if this server is on a linux box (or some other *nix) then you could try the folloing 'postprocess' script to auto-resize uploaded images:

#!/bin/sh
djpeg $2 | pnmscale -xres=480 | cjpeg > out.tmp.jpg
mv out.tmp.jpg $2

chmod 755 on the file and stick it somewhere where the webserver can see it in it's path or provide an absolute path. Depending on how things are set up the djpeg, pnmscale and cjpeg commands could need absolute paths as well.

that should do it.

pnmscale is part of Jeff Postkanzers' 'pbm' package and is pre-installed on many machines, djpeg and cjpeg are standard tools, but if you don't have them simply download jpeg-6, make and make install and they will be placed in /usr/local/bin

regards

 Jacques.
www.greenbits.com
[ Parent ]



Suggestion for pics | 6 comments (6 topical, 0 editorial)
Display: Sort:
Menu
· create account
· How to use the board
· FAQs
· search the board
· Google search the board
· Old Otherpower Board

Login
Make a new account
Username:
Password:

Total Views
  70 Scoop users have viewed this posting.

Related Links
· Also by johnlm

Powered by Scoop
You must be a registered user to post here. It's easy and free, and the link is on the upper right side of your page.
All trademarks and copyrights on this page are owned by their respective companies. Postings are owned by the poster, but may be deleted or moved at the ADMIN's sole discretion. The Rest © 2003 Forcefield.
You can Email the board ADMIN here. PLEASE include the username you signed up with!