LoginLogin

Saturation

Root / Submissions / [.]

NateDogg1232Created:
Download:DVES3Y3
Version:Size:
This is my submission to the OSP contest. This program changes the saturation of an image (in the program, that is the sprite page (GRP4) by converting the RGB value of each pixel to an HSV value, reducing the saturation value, then converting it back to RGB.

Instructions:

Enter in the percentage of saturation you want the image to have.

Notes:

Note: Once the contest is over, I'll expand the code all over again and make it into a full length program

Nice key

I thought so too lol

I think you might've misunderstood the contest a bit. The idea is that you need to fit all of your code in the editor on a single screen. In other words, you should be able to see all of your code at once without having to scroll up and down. Luckily, your code is short enough that this is possible just by replacing the newlines with : and removing unnecessary whitespace, but at the moment it doesn't follow the rules of the contest.

Replying to:niconii
I think you might've misunderstood the contest a bit. The idea is that you need to fit all of your code in the editor on a single screen. In other words, you should be able to see all of your code at once without having to scroll up and down. Luckily, your code is short enough that this is possible just by replacing the newlines with : and removing unnecessary whitespace, but at the moment it doesn't follow the rules of the contest.
I don't think I quite understand. It does indeed fit in the editor for one page, right? Or do you mean, using things like : excessively (like my program does, I'll admit) is not allowed?

I like it also. It's just right.

Replying to:niconii
I think you might've misunderstood the contest a bit. The idea is that you need to fit all of your code in the editor on a single screen. In other words, you should be able to see all of your code at once without having to scroll up and down. Luckily, your code is short enough that this is possible just by replacing the newlines with : and removing unnecessary whitespace, but at the moment it doesn't follow the rules of the contest.
Look at some of the examples on the contest thread.

Replying to:niconii
I think you might've misunderstood the contest a bit. The idea is that you need to fit all of your code in the editor on a single screen. In other words, you should be able to see all of your code at once without having to scroll up and down. Luckily, your code is short enough that this is possible just by replacing the newlines with : and removing unnecessary whitespace, but at the moment it doesn't follow the rules of the contest.
Let me explain it another way. The entirety of your code must fit in a single screenshot. This is your code as submitted:
screenshots
Notice how it took three screenshots to show all the code.

Replying to:niconii
I think you might've misunderstood the contest a bit. The idea is that you need to fit all of your code in the editor on a single screen. In other words, you should be able to see all of your code at once without having to scroll up and down. Luckily, your code is short enough that this is possible just by replacing the newlines with : and removing unnecessary whitespace, but at the moment it doesn't follow the rules of the contest.
Oh. Whoops. I uploaded with the wrong file. Gimme a moment. I guess I should have checked.

Replying to:niconii
I think you might've misunderstood the contest a bit. The idea is that you need to fit all of your code in the editor on a single screen. In other words, you should be able to see all of your code at once without having to scroll up and down. Luckily, your code is short enough that this is possible just by replacing the newlines with : and removing unnecessary whitespace, but at the moment it doesn't follow the rules of the contest.
I just fixed it. I'm very sorry about that.

suggestion: leave transparent pixels alone because i don't want to have a completely white-filled void behind all my sprites.

Replying to:chicken
suggestion: leave transparent pixels alone because i don't want to have a completely white-filled void behind all my sprites.
Will add that. Thanks!

Replying to:chicken
suggestion: leave transparent pixels alone because i don't want to have a completely white-filled void behind all my sprites.
All done. I hope it worked, but I have no way of making sure, I don't think.

I liked seeing how the sprites were affected. I wonder if I could find a use for this in another program one day~ Nice! ^w^

Replying to:Midnight
I liked seeing how the sprites were affected. I wonder if I could find a use for this in another program one day~ Nice! ^w^
It has a converting algorithm for changing the RGB values that are given to HSV (Hue [color], saturation, and vibrance [brightness]) that you can use for many thingsrelating to graphics things. Maybe some day I'll have a program that can freely edit all of these values of a certain image.