-=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- (c) WidthPadding Industries 1987 0|579|0 -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=-
SoCoder -> Newsletter Home -> Newsletter


 
Jayenkai
Created : 07 June 2013
Edited : 31 December 1969

#179 - Scaling to Order




; Scaling To Order

#0179 - Friday 7th June 2013

Subscribe to Socoder Newsletter

          groups.google.com/group/socoder-newsletter

Every Friday,


-=-=-=-=-=-=-=-=-=-=-=-=-
Print
-=-=-=-=-=-=-=-=-=-=-=-=-

; Hello World


This week, I finally fixed that really irritating niggling little bug that I don't think anyone ever spotted, but me.
Way, way back when I first added the Uploader, I got it to generate a _thumb. version of the image, and scale it down to a smaller size.

If width>target and width>height, scale width to target, scale height appropriately.
If height>target and height>width, scale height to target, scale width appropriately.

... Spot the bug!
Can't see it? Seems right, doesn't it!?

The issue was, of course, that if you tried to upload a perfectly square image,the damn thing didn't scale it!!
D'oh!

Such a simple fix, and one that I knew exactly how to fix, and that took less than a minute to fix once I bothered to do it.. But one that I put off, because I figured nobody would ever notice it.
I fixed that, this week.
It's been there for the past three or four years!

You can now safely upload square pictures!

Huzzah!!
-=-=-
.... Oddly, a few days later, we got a spambot, hellbent on advertising an image scaler.. Eeuw, weird!!
-=-=-=-=-=-=-=-=-=-=-=-=-
SoCoder
-=-=-=-=-=-=-=-=-=-=-=-=-

; For Your Reference

Tikihead's trying to get something working in BlitzMax, but can't due to lack of "proper" referencing.
Can you help him out?!
          socoder.net/?topic=3523

; Secure Password

We discuss the ins and out, pros and cons, of various styles of passwords, and why it's probably best to keep a different password for each and every site that you use.
Of course, that's all bloody well useless if the craploads website you're on stupidly decides to store your password in a fucking plaintext database, but for the most past, you should do your best to keep as safe as you can.
It's a jungle out there.
.. And the hackers have machetes!!
          socoder.net/?topic=3529

; Undo or not Undo

Jayenkai gets a bit ticked off when his art package of choice decides that it "can't undo that much!", and ends up losing a bunch of work, due to his dislike of a certain way he did something.
Silly Jay!
          socoder.net/?topic=3525

-=-=-=-=-=-=-=-=-=-=-=-=-
IndieSphere
-=-=-=-=-=-=-=-=-=-=-=-=-

; JackBox

Ok, so it's not strictly Indie, but it's a company that I've held close to my heart for a long time.
JellyVision, the guys who make You Don't Know Jack, have announced, this week, that they're changing their name to JackBox Games.
...because.. You know.. The name of the company was DEFINITELY the cause of Jack's low sales figures...
:/ !?
Anyway, they're releasing YDKJ for OUYA, so.. You know.. There's ONE reason to think about buying one!!
          jackboxgames.com/

; Go Go Gun Battle

Glen McNamee has remade his little PlayMyCode gun shooter, with nicer sprites and a fancy background.
Kapow!!
          bit.ly/11HHuJJ
(Note : Autocorrect changed the word Kapow to Kapok.... WTF is Kapok!? . *checks* . A type of tree/fibre apparently..!)

Countdown to Plattown : 1 week!
-=-=-=-=-=-=-=-=-=-=-=-=-
SoOffTopic
-=-=-=-=-=-=-=-=-=-=-=-=-

; Hello World

Our typical monthly Worklog tends to focus on what programming things people have been getting up to.
Instead, this topic focuses on our general everyday lives.
How are you, and how's life been treating you?
          socoder.net/?topic=3527

; Afr0s Magazine

Forum regular Afr0 is now a regular writer in a magazine! This month, he interviews artist Tor Halvorsen
          socoder.net/?topic=3174

; Karate Fu!

DNA wants to know what the difference between Karate and Kung Fu is.
.. Nobody knows, so we all take the piss and make stupid Karate based jokes, instead.
          socoder.net/?topic=3526

View on YouTube

-=-=-=-=-=-=-=-=-=-=-=-=-
Retweets
-=-=-=-=-=-=-=-=-=-=-=-=-

@bfod
here’s the full video

View on YouTube

@chinnyhill10
.@Ashens Will the theme tune be as awesome as the French Dallas theme?
          t.co/RN8TR5avlX

@danthat
Woah, this Star Wars logo nerd-out is phenomenal: (via @PHIL_FISH)
          t.co/ENWeJqoLJ1

@ZKM
Top 10 Most Unforgivable Twitter Spelling Mistakes via @buzzfeed
          t.co/P4pjywDAos

@BinaryTweedDeej
Bugger me - the chorus melody for Stormlord 2 on the Speccy is corking:
          t.co/7yIHNeJUoq


@chinnyhill10
BATES
          youtu.be/4zGyvh_MT28
-=-=-=-=-=-=-=-=-=-=-=-=-
Tubage
-=-=-=-=-=-=-=-=-=-=-=-=-

; PictureBox

A maker makes a box of pixels!

View on YouTube

; XBone

The future is here, whether you want it or not.
          youtu.be/sWcKtJj5_oY

; Musical Interlude

Dubstep and Chiptune combined.
... I'll be honest, this could've been better.
A challenge, perhaps?!
          youtu.be/8vBSi0AMk2M

; The Heat is On

The time is right.
It's time for you...
For you to play this song!
          youtu.be/IY82spVBi8E
          youtu.be/hbewEpwoBNg

-=-=-=-=-=-=-=-=-=-=-=-=-
End Of
-=-=-=-=-=-=-=-=-=-=-=-=-

; Ooooh, a link!

          bit.ly/SN_Add
-=-=-=-=-=-=-=-=-=-=-=-=-
VGRemix Corner
-=-=-=-=-=-=-=-=-=-=-=-=-


View on YouTube
          youtu.be/DLhLcLfbgJ8
          youtu.be/XPyszOrcsg0

-------------------
Load, Next List!


 

Comments