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 ...

  
  1. #1
    Points: 24,247, Level: 94
    Level completed: 90%, Points required for next Level: 103
    Overall activity: 0%

    Join Date
    Jul 2005
    Location
    texas
    Posts
    2,803
    QJ Pts
    24,247
    Level
    94
    Downloads
    0
    Uploads
    0

    Default 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.


    Attached Thumbnails Attached Thumbnails RELEASE: BMPlib-screenshot.png  
    Attached Files Attached Files
    Last edited by youresam; 03-27-2006 at 08:11 PM.
    牧来栠摩琠敨映汩獥
    PSN: youresam
    From Earth the Frozen Ipaqs shall rise and be silenced and all will live free.
    --Mike Hollingsworth

  2. #2
    QJ Gamer Silver
    Points: 20,361, Level: 90
    Level completed: 3%, Points required for next Level: 489
    Overall activity: 0%

    Join Date
    Oct 2005
    Location
    ~* Confidential *~
    Posts
    839
    QJ Pts
    20,361
    Level
    90
    Downloads
    0
    Uploads
    0

    Default

    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 -

  3. #3
    Points: 24,247, Level: 94
    Level completed: 90%, Points required for next Level: 103
    Overall activity: 0%

    Join Date
    Jul 2005
    Location
    texas
    Posts
    2,803
    QJ Pts
    24,247
    Level
    94
    Downloads
    0
    Uploads
    0

    Default

    Quote Originally Posted by alatnet
    HOLY FRACK!?
    This should b on the front page!?
    Great Job, youresam!
    Thanks
    Too bad you can already do this in C real easy...
    牧来栠摩琠敨映汩獥
    PSN: youresam
    From Earth the Frozen Ipaqs shall rise and be silenced and all will live free.
    --Mike Hollingsworth

  4. #4
    QJ Gamer Silver
    Points: 20,361, Level: 90
    Level completed: 3%, Points required for next Level: 489
    Overall activity: 0%

    Join Date
    Oct 2005
    Location
    ~* Confidential *~
    Posts
    839
    QJ Pts
    20,361
    Level
    90
    Downloads
    0
    Uploads
    0

    Default

    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 -

  5. #5
    Developer
    Points: 5,162, Level: 46
    Level completed: 6%, Points required for next Level: 188
    Overall activity: 0%

    Join Date
    Feb 2006
    Location
    Tauranga, New Zealand
    Posts
    355
    QJ Pts
    5,162
    Level
    46
    Downloads
    0
    Uploads
    0

    Default

    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.

  6. #6
    Points: 24,247, Level: 94
    Level completed: 90%, Points required for next Level: 103
    Overall activity: 0%

    Join Date
    Jul 2005
    Location
    texas
    Posts
    2,803
    QJ Pts
    24,247
    Level
    94
    Downloads
    0
    Uploads
    0

    Default

    Lua doesnt require the ( ) around the if statement like C does..
    牧来栠摩琠敨映汩獥
    PSN: youresam
    From Earth the Frozen Ipaqs shall rise and be silenced and all will live free.
    --Mike Hollingsworth

  7. #7
    is not posting very often
    Points: 33,152, Level: 100
    Level completed: 0%, Points required for next Level: 0
    Overall activity: 99.6%

    Join Date
    Feb 2006
    Location
    omnipresent
    Posts
    5,162
    QJ Pts
    33,152
    Level
    100
    Downloads
    0
    Uploads
    0

    Default

    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?

    Quote Originally Posted by Abe
    Either way, if you don't know, don't guess. Stick to answering questions about stuff you're qualified to answer, like Pokemon questions or something along those lines.
    http://forums.qj.net/501501-post26.html

  8. #8
    Points: 24,247, Level: 94
    Level completed: 90%, Points required for next Level: 103
    Overall activity: 0%

    Join Date
    Jul 2005
    Location
    texas
    Posts
    2,803
    QJ Pts
    24,247
    Level
    94
    Downloads
    0
    Uploads
    0

    Default

    Quote Originally Posted by Glynnder- PSPro
    Whats wavlib?
    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.

    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: youresam
    From Earth the Frozen Ipaqs shall rise and be silenced and all will live free.
    --Mike Hollingsworth

  9. #9
    is not posting very often
    Points: 33,152, Level: 100
    Level completed: 0%, Points required for next Level: 0
    Overall activity: 99.6%

    Join Date
    Feb 2006
    Location
    omnipresent
    Posts
    5,162
    QJ Pts
    33,152
    Level
    100
    Downloads
    0
    Uploads
    0

    Default

    yea, why dont u make a simple program 2 go with it
    What did we think the world would look like in 2015?

    Quote Originally Posted by Abe
    Either way, if you don't know, don't guess. Stick to answering questions about stuff you're qualified to answer, like Pokemon questions or something along those lines.
    http://forums.qj.net/501501-post26.html

  10. #10
    Points: 24,247, Level: 94
    Level completed: 90%, Points required for next Level: 103
    Overall activity: 0%

    Join Date
    Jul 2005
    Location
    texas
    Posts
    2,803
    QJ Pts
    24,247
    Level
    94
    Downloads
    0
    Uploads
    0

    Default

    Quote Originally Posted by Glynnder- PSPro
    yea, why dont u make a simple program 2 go with it
    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..

    unless I make it standardized, but then low-volume audio wont be very large
    牧来栠摩琠敨映汩獥
    PSN: youresam
    From Earth the Frozen Ipaqs shall rise and be silenced and all will live free.
    --Mike Hollingsworth

  11. #11
    Quality Haxing Since 1991
    Points: 29,255, Level: 99
    Level completed: 55%, Points required for next Level: 745
    Overall activity: 0%

    Join Date
    Oct 2005
    Location
    Pennsylvania, USA Fi
    Posts
    6,206
    QJ Pts
    29,255
    Level
    99
    Downloads
    0
    Uploads
    0

    Default

    Why is this so SLOOWW?
    Quote Originally Posted by Noriko
    I would call you gay but I love you.


    Wait ...huh.



  12. #12
    Points: 24,247, Level: 94
    Level completed: 90%, Points required for next Level: 103
    Overall activity: 0%

    Join Date
    Jul 2005
    Location
    texas
    Posts
    2,803
    QJ Pts
    24,247
    Level
    94
    Downloads
    0
    Uploads
    0

    Default

    because its a HIPPO, why else?!
    牧来栠摩琠敨映汩獥
    PSN: youresam
    From Earth the Frozen Ipaqs shall rise and be silenced and all will live free.
    --Mike Hollingsworth

  13. #13
    Points: 24,247, Level: 94
    Level completed: 90%, Points required for next Level: 103
    Overall activity: 0%

    Join Date
    Jul 2005
    Location
    texas
    Posts
    2,803
    QJ Pts
    24,247
    Level
    94
    Downloads
    0
    Uploads
    0

    Default

    bump for new coders?
    牧来栠摩琠敨映汩獥
    PSN: youresam
    From Earth the Frozen Ipaqs shall rise and be silenced and all will live free.
    --Mike Hollingsworth

  14. #14
    QJ Gamer Blue
    Points: 7,014, Level: 55
    Level completed: 32%, Points required for next Level: 136
    Overall activity: 0%

    Join Date
    Jan 2007
    Location
    U.S.
    Posts
    405
    QJ Pts
    7,014
    Level
    55
    Downloads
    0
    Uploads
    0

    Default

    Nice work, youresam.


 

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





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

Use of this Web site constitutes acceptance of the TERMS & CONDITIONS and PRIVACY POLICY
Copyright © , Caputo Media, LLC. All Rights Reserved. Cluster .