Home AMX User Forum AMXForums Archive Threads AMX Hardware

Latest TP firmware - custom_logo.jpg ? Does anyone have it working?

Joe HebertJoe Hebert Posts: 2,159
One of the misc. items in the release notes for the latest firmware for most of the G4 TPs is:
Added ability for dealers to customize the boot splash screen with their company logo or other image. Logo must be same resolution as panel. If "custom_logo.jpg" is found in the user pages (added to resources of user pages in TPDesign) then panel will display that image. After AMX logo is displayed for a few seconds the new logo will be displayed. This gives dealers a way of branding the panel to their dealership.

I tried this with a 1700VG panel with firmware version 2.86.14 and couldn?t get it to work.

I created a 1280x768 JPG image and named it custom_logo.jpg. I imported the image into the resource manager and then saved and transferred the TP file. When I rebooted the TP the custom_logo didn?t appear.

I also tried adding custom_logo.jpg to one of the pages to see if that would get me anywhere but that didn?t work either.

I did notice after I imported custom_logo.jpg that the file shows up as custom_logo.JPG in the resource manager even though I specifically named it all lowercase to match the instructions exactly.

It seems like this should be a simple thing but I?m out of ideas on what I?m doing wrong.

Has anyone gotten custom_logo.jpg to work?

Thanks.

Comments

  • Hey Joe,

    Can you post the logo file you are having issues with?

    Chris
  • Joe,

    The JPG decoder we use at that point to provide a early custom boot logo is limited (since we don't have the full system up). It requires a JPEG to be saved with 2x2,1x1,1x1 sub-sampling. What are you using to create/save this jpeg?

    One way to achieve 2x2 sub-sampling is to save it in MS Paint. In GIMP, you have the option to set the sub-sampling value, which you can then set to 2x2. Unfortunately, in Adobe PS they over simplify things with a "quality" number. This quality number drivers many things, including sub-sampling. To achieve 2x2 in Adobe, use a quality of 6 or less.

    Let me know what program you are using and if that clears the problem up for you. I will get our documentation updated.

    Thanks,
    Chris
  • Joe HebertJoe Hebert Posts: 2,159
    amxcjc wrote: »
    What are you using to create/save this jpeg?

    One way to achieve 2x2 sub-sampling is to save it in MS Paint.

    Let me know what program you are using and if that clears the problem up for you. I will get our documentation updated.
    Hey Chris,

    Attached is a 1280x768 image for an NXT-1700VG that I created in MS Paint and saved as a jpg file. It?s just a blue background with some text. The image is fine if I attach it to a the background of a page but I can?t get it to show up as a boot-up image. I'm not sure what 2x2 sub-sampling is or how to save it that way in Paint. I just saved it as a JPG.

    The dealer I work with tried loading their custom logo images in a couple of different panel sizes and couldn?t get any of them to work. I'll pass on the 2x2 sub-sampling info to the graphics guy and see if that gets us any further. I'll let you know how it goes.

    Thanks for your response.
  • I just loaded your custom logo on my 17" and it worked. Can you send me the TPD4 file with the custom logo that fails?

    Chris
  • Joe HebertJoe Hebert Posts: 2,159
    I?m a step closer. I got the ugly custom logo I created to show up at boot time (about 15 seconds after the AMX logo shows up ? considerably longer than the few seconds noted in the firmware notes) but the TP file only has one blank page and the only resource is custom_logo.jpg.

    If I import that same custom_logo.jpg into my ugly test file (that matches the ugly logo) which has other pages, popups, dynamic images, and other resources then I can?t get the custom_logo to show at boot.

    Now that I know my custom_logo is valid, I?ll try paring my test TP file down until I see where things go bad and then post a copy.

    I?m using TPD4 2.11 build 619 to create the new TP file with just the custom logo and a blank page. I?m sure my test file was originally created with an earlier version of TPD4. Could that have something to do with it?

    Thanks for your help Chris.
  • I don't believe the TPD4 version should matter for the custom logo. I would be curious to see the TPD file that is causing problems. Keep me posted.

    Chris
  • Joe HebertJoe Hebert Posts: 2,159
    Chris,

    The attached zip contains two TP4 files.

    1) LogoTest_Good_1700VG_New_File.TP4
    This file is a newly created file just for this test. All it contains is a Main page with a reboot button along with custom_logo.jpg in the resource manager. This file works fine.

    2) LogoTest_Bad_1700VG_Old_File.TP4
    This file contains exactly the same thing as the good file except that this file was a test file I created a while ago and deleted everything out of it except for the custom_logo.jpg. This file will not show the custom logo.

    Prior to downloading these TP files I deleted all user pages and I did a full transfer.

    Can you get the bad file to show the logo? I can?t tell the difference between them except that one works and the other doesn?t.

    Note:
    I?m testing this a few more times trying each file as I?m writing this and now the good file doesn?t work every time. It seems like I need to delete all user pages first and then transfer. Either way I can?t get the bad file to work at all.

    Can you try these files out and tell me what you see?

    Thanks.
  • Joe,

    Thanks for the files. Good works for me, bad doesn't.

    The problem you are running into is the filename is case sensitive. In your bad project, the file is named "custom_logo.JPG". I think you had mentioned that in your previous post, but I thought you renamed it so I ignored it as being part of the issue. Note, it doesn't matter what the file is named when you import it. It could be called "foo.JPG" on your machine, but once you import it - in the resource manager there is an option to rename..this is where you can rename it to "custom_logo.jpg".

    As far as the good one not working all the time, I've done about 10 reboots and the good one worked everytime. I will keep doing some more reboots.

    Chris
  • Joe HebertJoe Hebert Posts: 2,159
    Wow, I?m a friggin? idiot. I can?t believe how much time I wasted on this. I imported the same image file (all lowercase) into each panel file yet one uppercased the extension and the other didn?t.

    How the heck did I miss that after I already flagged that as a possible error? Pure stupidity on my part. I couldn?t see the forest through the trees.

    Sorry to have wasted your time, Chris.

    Thanks.
  • No problem, I'm sure it will help someone in the future :)

    Chris
  • Joe HebertJoe Hebert Posts: 2,159
    Yeah, the sub-sampling parameters made it worthwhile.

    I passed the info on to the graphics guy and once he changed the compression life was good.
Sign In or Register to comment.