Results 1 to 14 of 14
RELEASE: BMPlib
This is a discussion on RELEASE: BMPlib within the PSP Development Forum forums, part of the PSP Development, Hacks, and Homebrew category; Hey everyone, I have created a new lua library, this one is bmplib. Basicly, it will load a 24-bit BMP ...
-
03-27-2006, 08:05 PM #1
RELEASE: BMPlib
Hey everyone, I have created a new lua library, this one is bmplib.
Basicly, it will load a 24-bit BMP image in lua using the function Image.bmpload(filename)
The problem is that takes a while to draw the image pixel-by-pixel, if anyone knows a way I can optimize this, please let me know. My only idea is that if a row of pixels are the same, draw them all at once.
Please, PLEASE read the readme. It has all the information you should need on it.
One last thing, the only use I could think of for this would be a BMP to png or jpg converter.. but thats about it. Consider this a test program.
PS: wavlib is almost finished! I just need to find a way to make the functions simpler...
EDIT: I found a but right when I uploaded it. fixed now.
Last edited by youresam; 03-27-2006 at 08:11 PM.
牧来栠摩琠敨映汩獥
PSN: youresamFrom Earth the Frozen Ipaqs shall rise and be silenced and all will live free.
--Mike Hollingsworth
-
03-27-2006, 08:10 PM #2QJ Gamer Silver

- Join Date
- Oct 2005
- Location
- ~* Confidential *~
- Posts
- 839
- QJ Pts
- 20,361
- Level
- 90
- Downloads
- 0
- Uploads
- 0
HOLY FRACK!?
This should b on the front page!?
Great Job, youresam!
"Every team needs an idealistic person (whether they are a noob or a pro), my team doesn't have one cus im the idealistic founder."-me
Anime/Manga and Fanfiction is my inspiration!
Creator of:
- PSPSDK makefile creator - Lua Prompt - Animated Sprite Class\Library for Lua - Gmax2PSP -
-
03-27-2006, 08:11 PM #3
Thanks
Originally Posted by alatnet

Too bad you can already do this in C real easy...
牧来栠摩琠敨映汩獥
PSN: youresamFrom Earth the Frozen Ipaqs shall rise and be silenced and all will live free.
--Mike Hollingsworth
-
03-27-2006, 08:12 PM #4QJ Gamer Silver

- Join Date
- Oct 2005
- Location
- ~* Confidential *~
- Posts
- 839
- QJ Pts
- 20,361
- Level
- 90
- Downloads
- 0
- Uploads
- 0
No prob, glad to give props to great programmers.

"Every team needs an idealistic person (whether they are a noob or a pro), my team doesn't have one cus im the idealistic founder."-me
Anime/Manga and Fanfiction is my inspiration!
Creator of:
- PSPSDK makefile creator - Lua Prompt - Animated Sprite Class\Library for Lua - Gmax2PSP -
-
03-27-2006, 08:26 PM #5Developer

- Join Date
- Feb 2006
- Location
- Tauranga, New Zealand
- Posts
- 355
- QJ Pts
- 5,162
- Level
- 46
- Downloads
- 0
- Uploads
- 0
Nice work, although I find it pointless as .BMP is an awful image format. .PNG all the way - no quality loss either. Oh, and you're one of those...
It's:
[HTML]if (blah == blah)[/HTML]
not:
[HTML]if blah == blah[/HTML]
Get it right! :razz: Nah, kidding, do it however you want.
-
03-28-2006, 04:38 AM #6
Lua doesnt require the ( ) around the if statement like C does..
牧来栠摩琠敨映汩獥
PSN: youresamFrom Earth the Frozen Ipaqs shall rise and be silenced and all will live free.
--Mike Hollingsworth
-
03-28-2006, 05:29 AM #7is not posting very often

- Join Date
- Feb 2006
- Location
- omnipresent
- Posts
- 5,162
- QJ Pts
- 33,152
- Level
- 100
- Downloads
- 0
- Uploads
- 0
yea, it just involes more typing, I wouldn't wanna change it all now so I would stick without the brackets, u do da same youresam!
Whats wavlib?Last edited by Glynnder; 03-28-2006 at 06:41 AM.
What did we think the world would look like in 2015?
http://forums.qj.net/501501-post26.html
Originally Posted by Abe
-
03-28-2006, 01:33 PM #8
wavlib is an upcoming lib for lua that allows you to view the song data, as well as create an image with the song...lines thing... with custom dementions and custom colors.
Originally Posted by Glynnder- PSPro
It is done right now, but there is an integer that controls how the song lines height should be divided, but the problem is that with a loud song, the number would be different than one with very low volume.
I mean, it works fine, but I want to make it as simple as possible.牧来栠摩琠敨映汩獥
PSN: youresamFrom Earth the Frozen Ipaqs shall rise and be silenced and all will live free.
--Mike Hollingsworth
-
03-28-2006, 01:56 PM #9is not posting very often

- Join Date
- Feb 2006
- Location
- omnipresent
- Posts
- 5,162
- QJ Pts
- 33,152
- Level
- 100
- Downloads
- 0
- Uploads
- 0
yea, why dont u make a simple program 2 go with it
What did we think the world would look like in 2015?
http://forums.qj.net/501501-post26.html
Originally Posted by Abe
-
03-28-2006, 02:11 PM #10
I did... but there is a variable that controls how large the lines will be drawn, and its very complicated because I dont know how to make it draw it at an average height without re-calculating the whole thing twice..
Originally Posted by Glynnder- PSPro
unless I make it standardized, but then low-volume audio wont be very large牧来栠摩琠敨映汩獥
PSN: youresamFrom Earth the Frozen Ipaqs shall rise and be silenced and all will live free.
--Mike Hollingsworth
-
10-13-2006, 06:15 PM #11Quality Haxing Since 1991
- Join Date
- Oct 2005
- Location
- Pennsylvania, USA Fi
- Posts
- 6,206
- QJ Pts
- 29,255
- Level
- 99
- Downloads
- 0
- Uploads
- 0
Why is this so SLOOWW?
Originally Posted by Noriko
-
10-13-2006, 06:42 PM #12
because its a HIPPO, why else?!
牧来栠摩琠敨映汩獥
PSN: youresamFrom Earth the Frozen Ipaqs shall rise and be silenced and all will live free.
--Mike Hollingsworth
-
06-15-2007, 06:32 PM #13
bump for new coders?
牧来栠摩琠敨映汩獥
PSN: youresamFrom Earth the Frozen Ipaqs shall rise and be silenced and all will live free.
--Mike Hollingsworth
-
06-17-2007, 08:13 PM #14
Nice work, youresam.


LinkBack URL
About LinkBacks
Reply With Quote

I recently played a bit of Super Mario 3D World + Bowser's Fury and I enjoyed playing this...
Super Mario Fans Out There!