Welcome to the Android Central Forums Create Your Account or Ask a Question Answers in 5 minutes - no registration required!
Results 1 to 15 of 15
Like Tree2Likes
  • 2 Post By EarthnFire78
  1. Thread Author  Thread Author    #1  
    EarthnFire78's Avatar
    YAY!!! ME :)

    Posts
    964 Posts
    ROM
    Custom ROM & Kernel

    Default PNG-2-RLE Batch Converter.....[Windows .bat]

    I shared a PNG to RLE converter with LeslieAnn that I found from searching Google, well I made a few changes that give it more of an interface menu setup, and be more noob friendly. This well batch convert png's images to rle splash images.

    I'm also working on a way for it to rename the rle to sprint_power_on in numerical order after converting, well update if/when successful.

    Read the "Read me" txt before converting.



    PNG-2-RLE Batch Converter.zip
    Last edited by EarthnFire78; 04-14-2012 at 08:22 PM.
    Thanked by 4:
    Paul627g and Zichi like this.
  2. #2  
    JerryScript's Avatar
    Daydream Believer

    Posts
    2,058 Posts
    ROM
    Victorious

    Default Re: PNG-2-RLE Batch Converter.....[Windows .bat]

    Quote Originally Posted by EarthnFire78 View Post
    I share a PNG to RLE converter with LeslieAnn that I found from searching Google, well I made a few changes that give it more of an interface menu setup, and be more noob friendly. This well batch convert png's images to rle splash images.

    I'm also working on a way for it to rename the rle to sprint_power_on in numerical order after converting, well update if/when successful.

    Read the "Read me" txt before converting.



    PNG-2-RLE Batch Converter.zip
    You should be able to follow my method for Ubuntu to give the names appropriate numbering schemes.
    Thanked by:
  3. Thread Author  Thread Author    #3  
    EarthnFire78's Avatar
    YAY!!! ME :)

    Posts
    964 Posts
    ROM
    Custom ROM & Kernel

    Default Re: PNG-2-RLE Batch Converter.....[Windows .bat]

    Quote Originally Posted by JerryScript View Post
    You should be able to follow my method for Ubuntu to give the names appropriate numbering schemes.
    Tried that and it would convert but not rename, or it just renamed the first file. I do have a picture editing program that well however rename the files.

    Windows batch commands are in some ways to simple, which makes finding the right command line harder.
  4. #4  
    JerryScript's Avatar
    Daydream Believer

    Posts
    2,058 Posts
    ROM
    Victorious

    Default Re: PNG-2-RLE Batch Converter.....[Windows .bat]

    Windows batch files tend to strip off the % sign, so you have to use it twice

    20% should be 20%%

    Example:
    http://www.imagemagick.org/discourse...hp?f=1&t=15487
    Thanked by:
  5. Thread Author  Thread Author    #5  
    EarthnFire78's Avatar
    YAY!!! ME :)

    Posts
    964 Posts
    ROM
    Custom ROM & Kernel

    Default Re: PNG-2-RLE Batch Converter.....[Windows .bat]

    Quote Originally Posted by JerryScript View Post
    Windows batch files tend to strip off the % sign, so you have to use it twice

    20% should be 20%%

    Example:
    ImageMagick • View topic - Batch script (windows) for converting, resizing and layer ..
    I'll reboot back into windows are give it a go again.
  6. #6  
    cole2kb's Avatar
    Retired Moderator

    Posts
    3,975 Posts
    Global Posts
    4,030 Global Posts
    ROM
    Stock

    Default Re: PNG-2-RLE Batch Converter.....[Windows .bat]

    Is there anything that can do this the other way around? RLE to PNG? Trying those batch files posted in another thread, but it gives me an error every time, and the images when I open them in Photoshop are heavily distorted, and I assume the wrong size (480 x 854?)

    Code:
    --------------------------------------
    Converting RLE file to image file
    --------------------------------------
    .
    Using battery_ani_01.rle
    .
    [ STEP 1] - converting to RLE to RAW format...
    70000 pixels
    .
    [ STEP 2] - converting to Final iamge format...
    convert: Unexpected end-of-file `battery_ani_01.rle.raw': No such file or direct
    ory @ error/rgb.c/ReadRGBImage/231.
    .
    --------------------------------------
    DONE!!!
    --------------------------------------
    --Chris [cole2kb]
  7. Thread Author  Thread Author    #7  
    EarthnFire78's Avatar
    YAY!!! ME :)

    Posts
    964 Posts
    ROM
    Custom ROM & Kernel

    Default Re: PNG-2-RLE Batch Converter.....[Windows .bat]

    Quote Originally Posted by cole2kb View Post
    Is there anything that can do this the other way around? RLE to PNG? Trying those batch files posted in another thread, but it gives me an error every time, and the images when I open them in Photoshop are heavily distorted, and I assume the wrong size (480 x 854?)

    Code:
    --------------------------------------
    Converting RLE file to image file
    --------------------------------------
    .
    Using battery_ani_01.rle
    .
    [ STEP 1] - converting to RLE to RAW format...
    70000 pixels
    .
    [ STEP 2] - converting to Final iamge format...
    convert: Unexpected end-of-file `battery_ani_01.rle.raw': No such file or direct
    ory @ error/rgb.c/ReadRGBImage/231.
    .
    --------------------------------------
    DONE!!!
    --------------------------------------
    The rle files used by our phones are a bit different, so in most cases they come out looking all weird. I'm not worried to much about converting to .png I just like to convert to rle for a different slash screen.

    The project that I'm working on has Jerry's png 2 rle script (though I did change a few things and works in Windows, so as a result support for this bat file well be limited.
  8. #8  
    cole2kb's Avatar
    Retired Moderator

    Posts
    3,975 Posts
    Global Posts
    4,030 Global Posts
    ROM
    Stock

    Default Re: PNG-2-RLE Batch Converter.....[Windows .bat]

    That's fine. I was just trying to convert them back to PNG so I could look at them and see exactly where they are used. The file names are descriptive though so that gives me a good starting point. I should be making them for the size of our phones then, correct? 320 x 480?
    --Chris [cole2kb]
  9. #9  
    cole2kb's Avatar
    Retired Moderator

    Posts
    3,975 Posts
    Global Posts
    4,030 Global Posts
    ROM
    Stock

    Default Re: PNG-2-RLE Batch Converter.....[Windows .bat]

    Clarification: Definitely looking forward to checking out your software once it's released, I'm just trying to do this stuff by hand the first time around to make sure I learn as much as possible.
    --Chris [cole2kb]
  10. #10  
    anthonycr's Avatar
    Themer. You've seen them

    Posts
    2,120 Posts
    ROM
    Stock

    Default

    Quote Originally Posted by cole2kb View Post
    That's fine. I was just trying to convert them back to PNG so I could look at them and see exactly where they are used. The file names are descriptive though so that gives me a good starting point. I should be making them for the size of our phones then, correct? 320 x 480?
    Yeah make them that size, then put them into the appropriate folder and make sure they are named appropriately and then run the batch file, and it will output your rles. Just make sure to strip the .PNG part out of the outputted files name since they'll be named name_of_file.png.rle

    Sent from my LG-VM670 using Tapatalk 2
    Thanked by:
  11. Thread Author  Thread Author    #11  
    EarthnFire78's Avatar
    YAY!!! ME :)

    Posts
    964 Posts
    ROM
    Custom ROM & Kernel

    Default

    You all week like the batch covert, that is part if my project. It well rename the files to what it needs to be named, and writing one for the charging rle.
    SuperiorIrkenOrgans 100% CyanogenMod for LGE Optimus devices.
    [CyanogenMod-7 ROM+KERNEL] OM-Mandylion my CyanogenMod-7 ROM build.
    [Recovery] ZenGarden 2.0.2.7-T a recovery to fit all your needs.
  12. #12  

    Default Re: PNG-2-RLE Batch Converter.....[Windows .bat]

    If you want to just alter batch images to usable image format, then Image Converter software is a simple and quick way to a lot speed up picture's file type changes in just a small number of clicks. As a batch image converter I also use ReaJPEG software with its batch editing mode.
    Last edited by Ryan Ron; 08-16-2012 at 12:32 PM.
  13. #13  

    Default Re: PNG-2-RLE Batch Converter.....[Windows .bat]

    thank you for this
    please the link is dead
  14. #14  

    Default Re: PNG-2-RLE Batch Converter.....[Windows .bat]

    @EarthnFire78

    the link on first page has been deleted please check the link and attach again
  15. #15  
    AndyOpie150's Avatar

    Posts
    1,256 Posts
    ROM
    Bean_Whiz-CM10v2.2.2CX

    Default Re: PNG-2-RLE Batch Converter.....[Windows .bat]

    He has moved on to another phone.
    You could try pm'ing him.

Posting Permissions