WakeWorld

WakeWorld (http://www.wakeworld.com/forum/index.php)
-   Wakesurfing (http://www.wakeworld.com/forum/forumdisplay.php?f=87668)
-   -   MultiSurf (http://www.wakeworld.com/forum/showthread.php?t=626653)

ragboy 09-15-2008 9:18 PM

I don't normally post much on WakeWorld, cuz its tougher to post decent size images. So I do most of my posting on the tigeowners forum. But being a programmer, I wrote a little program that optimizes images for WW restrictions, and makes it just as easy to post. So anyway.... <BR> <BR>We were out on Lake Oroville all weekend. It is VERY low, and very hard to get on, which is great for us because there is almost NO ONE on the lake, and its still HUGE. We were surfing all the time, and started breaking out the long board for some extra fun. <BR> <BR>Here is my son RJ with his cousin Joe in the front. <BR> <BR><img src="http://www.wakeworld.com/MB/Discus/messages/559019/626654.jpg" alt="395"> <BR> <BR>Once they figured out how to freeride, they started messing around and I started telling them different things to try. <BR> <BR><img src="http://www.wakeworld.com/MB/Discus/messages/559019/626655.jpg" alt="396"> <BR> <BR><img src="http://www.wakeworld.com/MB/Discus/messages/559019/626656.jpg" alt="397"> <BR> <BR>This one cracks me up. <BR> <BR><img src="http://www.wakeworld.com/MB/Discus/messages/559019/626657.jpg" alt="398"> <BR> <BR>The above was actually our second attempt at MultiSurfing, the first one was even crazier. Here they are trying to get up. <BR> <BR><img src="http://www.wakeworld.com/MB/Discus/messages/559019/626658.jpg" alt="374"> <BR> <BR><img src="http://www.wakeworld.com/MB/Discus/messages/559019/626659.jpg" alt="375"> <BR> <BR>In between attempts, that is Thomas 6 (T-Bone) on left, Maddie 10 (Max) in the middle, and RJ 13 on right. <BR> <BR><img src="http://www.wakeworld.com/MB/Discus/messages/559019/626660.jpg" alt="378"> <BR> <BR>Here they are getting up. <BR> <BR><img src="http://www.wakeworld.com/MB/Discus/messages/559019/626661.jpg" alt="111"> <BR> <BR><img src="http://www.wakeworld.com/MB/Discus/messages/559019/626662.jpg" alt="113"> <BR> <BR>And they even were able to freeride. Don't let the stills fool you, there were able to freeride almost indefinitely, for several minutes on 2 attempts. <BR> <BR><img src="http://www.wakeworld.com/MB/Discus/messages/559019/626663.jpg" alt="388"> <BR> <BR><img src="http://www.wakeworld.com/MB/Discus/messages/559019/626664.jpg" alt="389"> <BR> <BR><img src="http://www.wakeworld.com/MB/Discus/messages/559019/626665.jpg" alt="390"> <BR> <BR><img src="http://www.wakeworld.com/MB/Discus/messages/559019/626666.jpg" alt="387"> <BR> <BR>Thats actually an epoxy mini longboard, 8'0 from Isle.

notsobueno 09-15-2008 10:36 PM

Looks like a lot of fun. Very cool

jujube 09-16-2008 6:29 AM

Nice pictures, the water looks awesome. The kids smiles say it all! <IMG SRC="http://www.wakeworld.com/MB/Discus/clipart/happy.gif" ALT=":-)" BORDER=0>

ds3 09-17-2008 4:58 PM

Great pics. And great size! I would be interested in your program for the pics, I don't post pics on here for the same reason!

ragboy 09-17-2008 5:08 PM

Its not ready for prime time, I run it from the command line. But its just a script that uses ImageMagick. This script will size the images down to fit within 1000x1000, and with a quality of 80, which is very good quality. It keeps the image size under 150k, which is what WW requires. The main thing that makes images LARGER is they contain META DATA in them. They contain color profiles, which only safari supports anyway, so you don't need them in the images, and they also have other tags and stuff embedded in the image. So when you use photoshop to resize an image, it may make the IMAGE part of the binary smaller, but it leaves all the meta data and color profile information in the image, uncompressed, and it takes a lot of space, sometimes more than others. The method I use in my script, uses a IM method called THUMBNAIL which will strip all color profile and meta data from the image, and then size, so its as small as possible. <BR> <BR><a href="http://www.eventpix.com/" target="_blank">http://www.eventpix.com/</a> is a site I built and so have worked with these techniques and optimizations for years. Here is the script, in case it makes sense to you. I could make a nice GUI application out of it, but don't have the time, maybe someone else could. <BR> <BR>This is a unix shell script, would run on linux or mac os x with imagemagick installed. Would need to be converted to windows BAT file to run on windows, but it would use same IM convert syntax. <BR> <BR> <BR>#!/bin/sh <BR> <BR>cnt=1 <BR>for filename in "$@" <BR>do <BR> echo "${cnt}: Converting $filename to ${filename%.*}_ww.jpg" <BR> convert -size 1000x1000 "${filename}" -thumbnail 1000x1000 -quality 80 "${filename%.*}_ww.jpg" <BR> if [ $? -ne 0 ] <BR> then <BR> echo "error" <BR> exit 1 <BR> fi <BR> cnt=$(( $cnt + 1 )) <BR>done <BR>exit 0 <BR>}

jujube 09-17-2008 5:20 PM

Robert - you are a genius! <IMG SRC="http://www.wakeworld.com/MB/Discus/clipart/happy.gif" ALT=":-)" BORDER=0>

ragboy 09-17-2008 5:31 PM

ah, shucks. <img src="http://www.wakeworld.com/MB/Discus/clipart/happy.gif" border=0>

ds3 09-17-2008 7:09 PM

Holy Cow! Wow! I'll need my brother (he's the computer genius in the family) to decifer your script, but that is awesome....

ragboy 09-17-2008 7:25 PM

ImageMagick is free to download and use (open source) for any platform. It will install a command line program named convert or convert.exe on windows, among other things. The key to my script is just one line. The other lines are to automate doing this on several images at once. The one line is: <BR> <BR>convert -size 1000x1000 "${filename}" -thumbnail 1000x1000 -quality 80 "${filename%.*}_ww.jpg" <BR> <BR>you can simplify and do yourself like <BR> <BR>convert "inputimage.jpg" -thumbnail 1000x1000 -quality 80 "outputimage.jpg" <BR> <BR>Just replace the input and output images with real names. I think those images I posted were normally 200-300 images at that size, but with this command, stripping everything unneeded, down to about 100k.

09-18-2008 8:50 AM

Great job Robert! I just wanted to see if my MS DOS conversion worked. My batch file (which over-writes the existing file) <BR> <BR>for %%i in (*.jpg) do convert -size 1000x1000 %%i -thumbnail 1000x1000 -quality 70 %%i <BR> <BR>I had to adjust the quality to keep the files under 150K <BR> <BR>Did it work? <BR> <BR><img src="http://www.wakeworld.com/MB/Discus/messages/559019/627492.jpg" alt="Upload"> <BR><img src="http://www.wakeworld.com/MB/Discus/messages/559019/627493.jpg" alt="Upload"> <BR><img src="http://www.wakeworld.com/MB/Discus/messages/559019/627494.jpg" alt="Upload">

ragboy 09-18-2008 9:00 AM

As long as you keep the quality over 70, the pictures will look great, 80 is optimal, but 70 is just fine. If you go down to 60, you will start to see more artifacts. <BR> <BR>Pictures look good. Bigger the better, that is why I haven't posted much on WW, hard to do decent pictures until I took the time to fix that.


All times are GMT -7. The time now is 3:21 AM.