10-07-2009, 04:03 PM | #16 |
Addict
Posts: 355
Karma: 90
Join Date: Sep 2009
Location: Houston, TX
Device: Astak EZReader, Pocket Pro
|
Well that would be awesome.
|
10-07-2009, 04:36 PM | #17 |
Guru
Posts: 815
Karma: 1029784
Join Date: May 2008
Location: Nebraska, USA
Device: PEZ, Color Libre, 2@Sony T1, Onyx i62HD
|
I'm Close
After playing with Logomaker and a couple of bmp files ALL afternoon, I'm finally close.
I gave up on the pictures and decided to try just text. So I went into my Presentation Software, wrote my name and phone no. and saved it as a .bmp. with page size 4x6 Portrait. My software gives me many options so I played with it. The first picture, I saved the file as: 600x800 (vertical not landscape), 4 bit color, and 600 DPI. That gave me a physical size of 6.25" by 8.33". I did the same for the ending file. It gave me 4 horizontal pics, but the same garbage exit picture I had been having. THIS IS 1000 times better that what I had been getting with my pictures. So, I tried again, using: 1200x1600 , resolution 150, 4 bits, which gave me a physical size of 8" by 10.67". As you can see I now have 2 horizontal pics. And the exiting picture is the exit picture side by side. I'm stopping there for the day, and thinking about it. AFter some of the disaster tries I've had today, this is a tremendous success. AJ PS I went into my photo program and wiped out my phone number before I'm posting it. The picture on the PEZ is Perfect. Last edited by AJ Starr; 10-07-2009 at 04:47 PM. |
Advert | |
|
10-07-2009, 05:00 PM | #18 |
Grand Sorcerer
Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
|
Try 2 bit color. (2 bits is 4 shades of gray).
|
10-07-2009, 05:17 PM | #19 |
Guru
Posts: 815
Karma: 1029784
Join Date: May 2008
Location: Nebraska, USA
Device: PEZ, Color Libre, 2@Sony T1, Onyx i62HD
|
I'll give that a try next time I work on it. It seems that when I was doing the photo, when I used the 2 bit or 1 bit, the physical size reduced. And it appears that the physical size is what is making it fill the page. That is why the lesser DPI is working, the higher DPI caused a smaller physical size.
But I'll try it when I get back to playing with it. Thx. AJ |
10-08-2009, 02:07 PM | #20 |
Opinion Artiste
Posts: 301
Karma: 61464
Join Date: Mar 2009
Location: Albany, OR
Device: Nexus 5, Nexus 7, Kindle Touch, Kindle Fire
|
Success!!!
I've succeeded at creating STARTUP and SHUTDOWN fullscreen graphics for the Hanlin V5 (EZ Reader Pocket Pro).
I don't think you're going to be able to use the LogoMaker from Jinke to do it, unless that program has options that aren't public (which I doubt, since it was written before the V5 existed). The logo.bin file has to be 2*(600*800) bytes long. The first 600*800 bytes are the STARTUP image, the second 600*800 bytes are the SHUTDOWN image. There's one byte per pixel, and the values appear to be 0-255 (black-white), even though the V5 only displays 8 shades of gray. The ROWS of pixels in the logo.bin file are 'standard' BMP upside-down format. ie, the first row of 600 bytes in the file is the BOTTOM line of pixels on the screen, and the 800th row of bytes in the file is the TOP line of pixels on the screen. I've written a program that will take two input .BMP files (which have to be 600x800 pixels and 256-grayscale format, it should be pretty easy to modify it to handle 24-bit color, but it's easy enough to create the picture as 256-grayscale in the graphics editor, so why should I go to the extra work??? ), and output the logo.bin file. However, you then have to run a separate program to create the .MD5 checksum file. I'm going to try to grab some code off of the net to generate .MD5 checksums and add that into the program, so the one program will do it all, and then I'll put together a package and upload it here. Stay tuned... (Now, if only the V5 displayed a fullscreen image when you lock the keyboard, THAT would be even MORE useful!) |
Advert | |
|
10-08-2009, 02:15 PM | #21 |
Addict
Posts: 355
Karma: 90
Join Date: Sep 2009
Location: Houston, TX
Device: Astak EZReader, Pocket Pro
|
Proof...
|
10-08-2009, 02:50 PM | #22 | |
Fantasy & SciFi Reader
Posts: 183
Karma: 262
Join Date: Sep 2009
Location: Zapopan, Jalisco, Mexico
Device: Astak EZ Reader Pocket Pro
|
Quote:
|
|
10-08-2009, 03:05 PM | #23 |
Opinion Artiste
Posts: 301
Karma: 61464
Join Date: Mar 2009
Location: Albany, OR
Device: Nexus 5, Nexus 7, Kindle Touch, Kindle Fire
|
The Pudding (in which the Proof exists...)
Okay, here it is. UnZIP into a folder of your choice. It contains these files:
logo.bin The logo.bin and logo.md5 files are samples, pre-made from the enclosed sample startup.bmp and shutdown.bmp. The source files (for any programmers out there) are main.c, md5.c and md5.h. There are brief explanations/instructions in the readme.txt file, and the program itself is v5logos.exe. This is a command-line program that has to be run from a command-line prompt. Read the readme.txt file. Perhaps when I get a little more time (I should NOT have been doing THIS this morning!), I'll also convert it to a regular Windows program that prompts you for the input files.logo.md5 main.c md5.c md5.h readme.txt shutdown.bmp startup.bmp v5logos.exe Don't be worried by the disclaimer of warranty and placing all risk of use upon you. While those ARE true, I've extensively tested it on my own EZ-PEZ, and it works great. Now go have some fun! Everett |
10-08-2009, 07:16 PM | #24 | |
Astak Director, Bus. Devl
Posts: 2,560
Karma: 2500000
Join Date: Apr 2008
Device: Astak Pocket PRO
|
We need to change the Logomaker
Quote:
YOU did great!! However, this is going to remain a problem until the final solution (changing Logomaker to include V5 and that means engineering). We (Astak) have this problem facing us too. We want to change the warm-up screen for a special promotion and need a LOGO in there. Let me work on the factory! |
|
10-08-2009, 08:22 PM | #25 | |
Addict
Posts: 355
Karma: 90
Join Date: Sep 2009
Location: Houston, TX
Device: Astak EZReader, Pocket Pro
|
Quote:
Sure Sony's 505 has a huge bag of tricks but... <shrug> |
|
10-08-2009, 08:25 PM | #26 | |
Opinion Artiste
Posts: 301
Karma: 61464
Join Date: Mar 2009
Location: Albany, OR
Device: Nexus 5, Nexus 7, Kindle Touch, Kindle Fire
|
Quote:
|
|
10-08-2009, 08:25 PM | #27 | |
Wizard
Posts: 1,434
Karma: 1525776
Join Date: Aug 2009
Location: TAS, Australia
Device: Astak Pocket Pro (Black), 2 x Kindle WiFi (Graphite), iPod Touch 4G
|
Quote:
|
|
10-08-2009, 08:35 PM | #28 | |
Opinion Artiste
Posts: 301
Karma: 61464
Join Date: Mar 2009
Location: Albany, OR
Device: Nexus 5, Nexus 7, Kindle Touch, Kindle Fire
|
Quote:
1) Change the "CreateFile()" calls to "open()" or your favorite file access library. 2) Grab the definitions for the Windows bitmap structures (they HAVE to be on the net somewhere, and if not, holler, I can post them for you... come to think of it, I SHOULD have just included them in the main.c file.) 3) Modify the GetSize() function, which could be as simple as "open the file for reading, seek to the end, close the file and return the seek length". Everything in the MD5 files is JUST like I grabbed it off the net, and it compiled without errors the first time, so the MD5 stuff should work fine on Linux also. Other than that, it's just fairly straight-forward "read the files, mung the data, write the files" command line stuff that should be just as easy to do on Linux. Last edited by ekaser; 10-08-2009 at 08:41 PM. |
|
10-08-2009, 10:19 PM | #29 | |
Guru
Posts: 815
Karma: 1029784
Join Date: May 2008
Location: Nebraska, USA
Device: PEZ, Color Libre, 2@Sony T1, Onyx i62HD
|
Quote:
This is fantastic. I have a couple of questions before I delve into it. First, You said we would have to get the checkdisk v5 program. Do we still need to get it, or did you get it incorporated into your program? Next, you said the files had to be 256 greyscale? First, I can't get my program to convert to a 256 greyscale, it saves ok but when I pull it back up, it shows 8bit color. And the two files you have as an example, also show as 8 bit color in my program. Is this my program not doing it, or am I confused, or does your program work on 8 bit color, or ......... My latest success with the Jinke Logomaker had me using 4 bit, 300 dpi, and 2400x1000 pixels giving me a 8"w by 3.33" h file. I figured I must be doing something wrong..... I'd love to get going on this but I need to know about the checksum file and the 256 greyscale before I upload it. Thanks..... AJ |
|
10-08-2009, 11:01 PM | #30 | ||||
Opinion Artiste
Posts: 301
Karma: 61464
Join Date: Mar 2009
Location: Albany, OR
Device: Nexus 5, Nexus 7, Kindle Touch, Kindle Fire
|
Quote:
Quote:
Quote:
Quote:
|
||||
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
New firmware for Pocket Pro? | tamzilla | Astak EZReader | 27 | 11-01-2010 08:01 PM |
Does anyone have Pocket Pro and Sony Pocket? | Davimee | Astak EZReader | 10 | 05-05-2010 11:20 PM |
pdf converted to epub file not working on my EZ Pocket Pro Pro | luvshihtzu | Astak EZReader | 2 | 10-20-2009 07:30 PM |
On Pocket Pro watch!!! | Chiron | Astak EZReader | 68 | 10-01-2009 02:31 PM |
Pocket Pro: What Am I Doing Wrong? | ThomasMcKean | Astak EZReader | 19 | 09-21-2009 08:28 PM |