Announcements Announcements and news by Staff to let the community know what we are up to at YotaTech

Banner Picture submissions

Old Jan 7, 2006 | 01:12 PM
  #41  
FilthyRich's Avatar
Contributing Member
 
Joined: Jun 2004
Posts: 4,218
Likes: 0
From: Richmond, Va
Originally Posted by Corey
Still getting bad subs to me.
MS's Image Resizer does not always work when resizing them, you may have to try some other programs.
yup , ms resizer changes the size after you input the dimensions. ARGHHH. I need to use/ find something different
Reply
Old Jan 7, 2006 | 01:51 PM
  #42  
midiwall's Avatar
Registered User
 
Joined: Dec 2002
Posts: 9,048
Likes: 2
From: Seattleish, WA
Originally Posted by Ric
Id like to submit a few pics, but when i try to resize them to 133x100 its still over the 10kb, what program out of piant, Irfanview, or picture it 7.0 would you recommend using, this stuff gives me a headache, lol
thankx for any help.
When saving a JPG, most (all?) of the programs I've ever used will give you some sort of way to specify the "quality" of the image. This is a tradeoff between compression and clarity. Look for an "advanced" button or some such right at the point you're specifying a filename to save - you may have to use a "save as" function.

More compression = less quality, but you'll be able to find a median that will get you in under the 10k file limit and you'll still be able to have a good clear pic.


I'm happy to help out with file conversions as well. Put together an email with your YT username, and the pics you want to submit. Send 'em off to ytresize@midiwall.com. I'll fix 'em up and then send them on to Corey.
Reply
Old Jan 7, 2006 | 01:55 PM
  #43  
Ric's Avatar
Ric
Banned - User requested
 
Joined: Feb 2003
Posts: 3,496
Likes: 0
From: earth
midiwall,
Thankx so much, i really appreciate you doing that for me.
Ill send you the 3 pics, but i will also try what you was saying, again that you very much.
Ric
Reply
Old Jan 7, 2006 | 02:01 PM
  #44  
WATRD's Avatar
Contributing Member
 
Joined: Oct 2002
Posts: 5,089
Likes: 0
From: Duvall, WA
Originally Posted by midiwall
Sign this address up for as much SPAM and porn mail as you can find ytresize@midiwall.com. I'll be looking forward to what you can come up with.

Fixed it for you Mark! hahahhaahhah
Reply
Old Jan 7, 2006 | 02:05 PM
  #45  
Corey's Avatar
Thread Starter
Co-Founder/Administrator
iTrader: (1)
 
Joined: May 2002
Posts: 32,242
Likes: 21
From: Auburn, Washington
I can see all the Viagra adds coming in now


Hey, that pic might fit into the banner if I resize it.
Reply
Old Jan 7, 2006 | 02:10 PM
  #46  
midiwall's Avatar
Registered User
 
Joined: Dec 2002
Posts: 9,048
Likes: 2
From: Seattleish, WA
Originally Posted by WATRD
Fixed it for you Mark! hahahhaahhah
Originally Posted by Corey
I can see all the Viagra adds coming in now
If you guys will note... I used a "magic" username for the email. Once I'm done with this, I can set a filter on the server side and anything inbound won't even make it to the client side.
Reply
Old Jan 7, 2006 | 02:19 PM
  #47  
WATRD's Avatar
Contributing Member
 
Joined: Oct 2002
Posts: 5,089
Likes: 0
From: Duvall, WA
Originally Posted by midiwall
Once I'm done with this, I can set a filter on the server side and anything inbound won't even make it to the client side.
What are you thinking Man?! You are on the hook now, there is NO done... You will become the patron saint of graphics challenged people everywhere...
Reply
Old Jan 7, 2006 | 02:26 PM
  #48  
midiwall's Avatar
Registered User
 
Joined: Dec 2002
Posts: 9,048
Likes: 2
From: Seattleish, WA
Originally Posted by WATRD
What are you thinking Man?! You are on the hook now, there is NO done... You will become the patron saint of graphics challenged people everywhere...
tee-hee.


Okay folks, I'm in the groove. Eric's and Ric's are done.

Bring 'em on baby!


ooo! one side note...If you're using Outlook, then please send the pics along as _Attachments_ (Insert | file), don't "Paste" them into the body of the email. I'm not using Outlook and it takes a couple of extra steps to pull the pics out of MS's "winmail.dat" file when you paste them.

Thanks!
Reply
Old Jan 7, 2006 | 02:29 PM
  #49  
midiwall's Avatar
Registered User
 
Joined: Dec 2002
Posts: 9,048
Likes: 2
From: Seattleish, WA
Originally Posted by waskillywabbit
I have Adope Photoshop and can resize them in a click or two.
Hey Wab... Do you have any hints for resizing from non-stock sizes? i.e., take a pic that's been cropped to 640x400 down to 133x100?

I've either been re-cropping the pic to make up the difference of the short dimension, and/or letting PS stretch a couple of pixels, and/or adding a bit to the canvas size then blurring the edges.
Reply
Old Jan 7, 2006 | 02:31 PM
  #50  
waskillywabbit's Avatar
Banned
iTrader: (-1)
 
Joined: Jul 2003
Posts: 3
Likes: 20
Originally Posted by midiwall
Hey Wab... Do you have any hints for resizing from non-stock sizes? i.e., take a pic that's been cropped to 640x400 down to 133x100?

I've either been re-cropping the pic to make up the difference of the short dimension, and/or letting PS stretch a couple of pixels, and/or adding a bit to the canvas size then blurring the edges.
I took down my offer since you seemed to have it handled.

Easiest way I've found is to crop it to a stock size and then shrink it. I do that with all my website pics, as that is the only reason I learned. I don't do any fancy stuff...I prefer K.I.S.S.

Reply
Old Jan 7, 2006 | 02:53 PM
  #51  
FilthyRich's Avatar
Contributing Member
 
Joined: Jun 2004
Posts: 4,218
Likes: 0
From: Richmond, Va
Originally Posted by WATRD
What are you thinking Man?! You are on the hook now, there is NO done... You will become the patron saint of graphics challenged people everywhere...
Thanks Mark
Reply
Old Jan 7, 2006 | 03:12 PM
  #52  
calrockx's Avatar
Contributing Member
 
Joined: Sep 2002
Posts: 4,749
Likes: 0
From: Santa Clarita, California
maybe i'm in the minority here, but i think there should be only one centerpiece picture. and i'm not just saying that cause i made one, it doesn't have to be mine at all.

i just think that way there's a bit of consistency to the banner and it gives new visitors a uniform "website identity" of offroading toyota trucks. the random rig pictures already provides the element of dynamism.

"my other pics are at the cleaners" hmmm....
Reply
Old Jan 7, 2006 | 03:15 PM
  #53  
Corey's Avatar
Thread Starter
Co-Founder/Administrator
iTrader: (1)
 
Joined: May 2002
Posts: 32,242
Likes: 21
From: Auburn, Washington
Originally Posted by calrockx
"my other pics are at the cleaners" hmmm....
Now who went and did that?

Reply
Old Jan 7, 2006 | 03:16 PM
  #54  
WATRD's Avatar
Contributing Member
 
Joined: Oct 2002
Posts: 5,089
Likes: 0
From: Duvall, WA
Okay, just an FYI; I found an elegant solution to the duplicate image problem.

What is happening now, is that each image is chosen randomly, independant of the others. In other words, there is a one in (number of images in pool) chance that a particular image will be selected. Then the next image is chosen and the odds are the same and so on, for four images.

That means that the bigger the pool of images, the less likely any particular image will be chosen. However, no matter how large the pool is, probability dictates that sometimes an image will be selected more than once. Basically what I have built was a purely random slot machine More on that later...

But, I found an answer... I can now check each image as it is selected, to see if it's already in the chosen pile. If it is, I discard it and grab another and so on... This should take care of our duplicate problem without slowing things down Yeah!

I am coding the new solution and then will do some testing, so Corey should have the new version either later tonight or sometime tomorrow.

As a side project, I am not working on both a slot machine and a poker game that will use the same script as their basis The poker game is more complicated because it has to remember what cards have already been played... hahahahhaha
Reply
Old Jan 7, 2006 | 03:19 PM
  #55  
calrockx's Avatar
Contributing Member
 
Joined: Sep 2002
Posts: 4,749
Likes: 0
From: Santa Clarita, California
sounds like a few IF statements, hm? (i'm a total php programming newbie obviously) glad to see you got a solution worked up.
Reply
Old Jan 7, 2006 | 03:30 PM
  #56  
WATRD's Avatar
Contributing Member
 
Joined: Oct 2002
Posts: 5,089
Likes: 0
From: Duvall, WA
Nope. I was trying to avoid going the nested IF statement route. That was slowing things down too much

Instead I am feeding everything into an array, and then using;

in_array
Checks if a value exists in an array (PHP 4, PHP 5)
Searches haystack for needle and returns TRUE if it is found in the array, FALSE otherwise.

To do the work for me
Reply
Old Jan 7, 2006 | 03:31 PM
  #57  
midiwall's Avatar
Registered User
 
Joined: Dec 2002
Posts: 9,048
Likes: 2
From: Seattleish, WA
Originally Posted by calrockx
sounds like a few IF statements, hm? (i'm a total php programming newbie obviously) glad to see you got a solution worked up.
Actually, the "formal" solution to dealing a poker hand is basically a single IF statement and a recursive call.


Originally Posted by WATRD
Instead I am feeding everything into an array, and then using;
in_array
well, then there's that...

Last edited by midiwall; Jan 7, 2006 at 03:32 PM.
Reply
Old Jan 7, 2006 | 03:40 PM
  #58  
waskillywabbit's Avatar
Banned
iTrader: (-1)
 
Joined: Jul 2003
Posts: 3
Likes: 20
Heck, if you were a "real" programmer worth a hoot you'd just use some "real" code like FORTRAN!

Reply
Old Jan 7, 2006 | 03:42 PM
  #59  
WATRD's Avatar
Contributing Member
 
Joined: Oct 2002
Posts: 5,089
Likes: 0
From: Duvall, WA
Hell, I can do it in Z-80 if it blows your skirt up... But teaching Corey to implement it is going to be hell...
Reply
Old Jan 7, 2006 | 03:46 PM
  #60  
Corey's Avatar
Thread Starter
Co-Founder/Administrator
iTrader: (1)
 
Joined: May 2002
Posts: 32,242
Likes: 21
From: Auburn, Washington
I know morse code.
Reply

Thread Tools
Search this Thread

All times are GMT -8. The time now is 08:37 AM.