View Single Post
Old 12-24-2008, 08:30 AM   #5
nrapallo
GuteBook/Mobi2IMP Creator
nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.
 
nrapallo's Avatar
 
Posts: 2,956
Karma: 2530531
Join Date: Dec 2007
Location: Toronto, Canada
Device: REB1200 EBW1150 Device: T1 NSTG iLiad_v2 NC Device: Asus_TF Next1 WPDN
Quote:
Originally Posted by mscott161 View Post
Nick and All,
I have made some GUI changes and provided image saving and display. Most all of the items from Nick's wish list above has been addressed.

I have placed the new update in the first post in this thread.

Happy Holidays,
--Michael
That's great, Michael! What turn-around time.

In the same time it took you to produce this new version, if you were a major corporation, I think you would be still at the stage of identifying your target users.

OK, some constructive/minor comments:
  • In the General tab, under Header, the RES File Count needs the closing ')';
  • note the ZoomState is the lower nibble i.e 0 which means Both Small View and Large View; 1=Small View and 2=Large View. The upper nibble of 0x20 (i.e. 32) is the ImpType 2=EBW1150.
  • under Book Properties, you now somehow omitted the SubCategory (it holds the number of pages the reader displays when in Small View and when in Large View respectively. While this cannot be edited, it could be displayed!
  • under Table of Contents, you list the file size. Other information to list would be Data size, Index size (and when divided by index headersize of 14 (for EBW1150) will yield the number of such Indices). So basically the format here is Filetype header (32 bytes), Data section, {IndexN}*
  • under Book Images, there are some duplicate images now listed . As my test .imp, I used REBtestdoc.imp, I don't understand why those multiple copies listed in 'ImRn' were stored. The 'ImRn' record indicates that there are 17 images stores, but only 8 seem unique i.e. there should be 1 .gif, 6 .jpgs, and 1 .png. See this imp_dump.pl printout
    Code:
     ======== ImRn ========
     Filename:BYVI, $0000, Filesize:    656, Filetype:ImRn, $0001
     Header:TOCconst:0001, TOCfname:ImRn, TOCoffset:    642
     Header:$00000001, Unknown:$0000, $00000282, $00000101, $00000000, $00000000
     Data length = 610, Index length = 14
      Number of images indexed = 17
       width:153, height: 61, aspect:2.51, $FFFB, $0000, offset:   1527, $00BC70D0, imgtype: FIG, imgID:0080, $0000
       width:153, height: 61, aspect:2.51, $FFFB, $0000, offset:  14851, $01E0DC48, imgtype: FIG, imgID:0080, $0000
       width:153, height: 61, aspect:2.51, $FFFB, $0000, offset:  14888, $01F479E0, imgtype: FIG, imgID:0080, $0000
       width:153, height: 61, aspect:2.51, $FFFB, $0000, offset:  14924, $00BE17B8, imgtype: FIG, imgID:0080, $0000
       width:153, height: 61, aspect:2.51, $FFFC, $0000, offset:  15012, $00BC9D20, imgtype: GNP, imgID:0080, $0000
       width:472, height:595, aspect:0.79, $FFFA, $0000, offset:  17845, $00BD94A0, imgtype:GEPJ, imgID:0080, $0000
       width:472, height:595, aspect:0.79, $FFFB, $0000, offset:  17847, $01F444C0, imgtype:GEPJ, imgID:8D4D, $0000
       width:153, height: 61, aspect:2.51, $FFFB, $0000, offset:  17898, $01EDFE80, imgtype: GNP, imgID:0080, $0000
       width:153, height: 61, aspect:2.51, $FFFF, $0000, offset:  18201, $01F44380, imgtype: GNP, imgID:0080, $0000
       width:153, height: 61, aspect:2.51, $FFFE, $0000, offset:  18512, $00C47C20, imgtype: GNP, imgID:0080, $0000
       width:153, height: 61, aspect:2.51, $FFFC, $0000, offset:  18823, $01E1A4C0, imgtype: GNP, imgID:0080, $0000
       width:153, height: 61, aspect:2.51, $FFFE, $0000, offset:  19156, $00BC7120, imgtype: GNP, imgID:0080, $0000
       width:153, height: 61, aspect:2.51, $FFFE, $0000, offset:  19485, $00BCDE50, imgtype: GNP, imgID:0080, $0000
       width:176, height:207, aspect:0.85, $FFFB, $0000, offset:  19949, $01F40D50, imgtype:GEPJ, imgID:4D80, $0000
       width:174, height:207, aspect:0.84, $FFFB, $0000, offset:  19951, $01F15318, imgtype:GEPJ, imgID:B7B8, $0000
       width:176, height:212, aspect:0.83, $FFFB, $0000, offset:  19953, $00BDD5C0, imgtype:GEPJ, imgID:8A1A, $0000
       width:174, height:212, aspect:0.82, $FFFC, $0000, offset:  19955, $00BF8D68, imgtype:GEPJ, imgID:0F4E
     Index1:Index1_const1:0080, len:   610, offset:     32, const0:0000
    
     ======== GIF  ========
     Filename:TGBQ, $0000, Filesize:   2154, Filetype:GIF , $0000
     Header:TOCconst:0001, TOCfname:GIF , TOCoffset:   2140
     Header:$00000001, Unknown:$0000, $0000085C, $00000101, $00000000, $00000000
     Data length = 2108, Index length = 14
      Number of GIF images = 1
     Index1:Index1_const1:0080,  $0000, len:  2108, offset:     32, $0000
    
     ======== JPEG ========
     Filename:BEDO, $0000, Filesize: 116352, Filetype:JPEG, $0000
     Header:TOCconst:0001, TOCfname:JPEG, TOCoffset: 116268
     Header:$00000001, Unknown:$0000, $0001C62C, $00000101, $00000000, $00000000
     Data length = 116236, Index length = 84
      Number of JPEG images = 6
     Index1:Index1_const1:0F4E,  $0000, len:  7767, offset:     32, $0000
     Index1:Index1_const1:8A1A,  $0000, len:  7628, offset:   7799, $0000
     Index1:Index1_const1:B7B8,  $0000, len:  6149, offset:  15427, $0000
     Index1:Index1_const1:4D80,  $0000, len:  6004, offset:  21576, $0000
     Index1:Index1_const1:8D4D,  $0000, len: 44637, offset:  27580, $0000
     Index1:Index1_const1:0080,  $0000, len: 44051, offset:  72217, $0000
    
     ======== PNG  ========
     Filename:RYJS, $0000, Filesize:   3977, Filetype:PNG , $0000
     Header:TOCconst:0001, TOCfname:PNG , TOCoffset:   3963
     Header:$00000001, Unknown:$0000, $00000F7B, $00000101, $00000000, $00000000
     Data length = 3931, Index length = 14
      Number of PNG images = 1
     Index1:Index1_const1:0080,  $0000, len:  3931, offset:     32, $0000
  • after you save an image, then when re-constructing the .html you will have to refer to it in a unique way. I used, for the filename, the Imagetype followed by the Image ID (in hex as it format well and is always 4 characters). Now the Image ID is unique only for its Imagetype. An example from REBtestdoc.imp is GIF_0080.gif, JPEG_0080.jpg, and PNG_0080.png
  • display the Image ID as a 4-byte hex. Also, clicking on that Image ID entry causes the program to crash!
  • In the Book Properties tab, when I click Rename IMP file button the program crashes.
  • I would relocate the Rename IMP file button to below and the Save button to the right where you had it in the previous version. This would allow those quick fix "Buttons" beside a property i.e. for Author a "Button" could change "Firstname Intial Lastname" to "Lastname, Firstname Initial" format. ID (should be called BookID) can be auto-updated via a "Button" using the GUID 32 character naming convention . Place a Fix BytesRemainingInHeader "Button" and other sanity checks "Buttons" at the bottom.
  • Save means Save .IMP Changes; and where is that Save Text "Button"?
  • In the Text Content tab, pressing it a second time should not display to Pop-up that it may take a while as it's already been decompressed.

That's it for now....

Have yourself Happy Holidays as well. And thanks for your present (ConvertIMP)!

Last edited by nrapallo; 12-24-2008 at 09:27 AM. Reason: typo
nrapallo is offline   Reply With Quote