Apply custom images to Ford Convers+

IPC - Instrument cluster panels (like Convers+)
Gwe89
Pro
Posts: 332
Joined: 09 Feb 2019, 21:21

Re: Apply custom images to Ford Convers+

Post by Gwe89 »

DGAlexandru wrote: 30 Dec 2020, 23:51 Load the Image.
Input 250 as width, 195 as height, choose 0.
Do RLE Convert.
Save image as BIN. Input again 250 and then 195 when it asks you for these values.

If you Cancel any of the questions then it won't save the image correctly.

Now I'm writting from my phone, but I'll have a second look. For testing the new version I went with 200x100, 200x198, 400x100.. maybe 250x195 is a "magic" combination that breaks things :? :roll: :lol:
done that
Capture.PNG

if i resize picture before i get
Capture2.PNG

left 250x198 right 200x198
Capture3.PNG


same with 59x106px
59x106.PNG
You do not have the required permissions to view the files attached to this post.
DGAlexandru
Pro
Posts: 364
Joined: 04 Aug 2019, 22:47

Re: Apply custom images to Ford Convers+

Post by DGAlexandru »

OK, there is a BUG in CH regarding encoding of images that have a width size which isn't a multiple of 4.
I've replaced the archive for CH 1.3.3 in my previous post with a new one that has some improvements regarding the questions for the image width and height, but for now it still has this BUG, as I couldn't find an explanation on what goes wrong - most probably at RLE encoding.
hanssi
Starter
Posts: 43
Joined: 02 Jul 2019, 20:12

Re: Apply custom images to Ford Convers+

Post by hanssi »

DGAlexandru wrote: 23 Dec 2019, 14:40 I still don't understand :roll:

Custom resolution for Logo:
As explained before, the CPU needs to have this image at the same resolution as the display, as it can't and doesn't have any engine for image resize.
If you want to be able to add to ConversHacker an image of a different resolution and have CH do the resize for you, then this might be possible, but it's easier to do this with another image editor.. something as easy to use as IrfanView.

Custom resolution for Icons and other Images that are used by Convers:
This is way beyond the scope of this tool. You'll have to edit the entire external flash memory in order to modify them and then to modify the main flash in order to let it know the new offsets.

Many THANKS for avesome function!!! :twisted:

Tested yet:
0AEE8EEC-4624-4EB8-8F4E-598DB4DAB333.jpeg
Happy New Year to all members!
You do not have the required permissions to view the files attached to this post.
Last edited by hanssi on 01 Jan 2021, 09:24, edited 1 time in total.
DGAlexandru
Pro
Posts: 364
Joined: 04 Aug 2019, 22:47

Re: Apply custom images to Ford Convers+

Post by DGAlexandru »

Well, it was an easy add-on... if we don't think about the BUG :)
I thought I lost the source code when my SSD died, but found an archive these days and I wanted to play again with CH.

Happy New Year!
User avatar
Stevebe
Pro
Posts: 258
Joined: 08 Feb 2019, 12:28

Re: Apply custom images to Ford Convers+

Post by Stevebe »

DGAlexandru wrote: 31 Dec 2020, 14:37 OK, there is a BUG in CH regarding encoding of images that have a width size which isn't a multiple of 4.
I've replaced the archive for CH 1.3.3 in my previous post with a new one that has some improvements regarding the questions for the image width and height, but for now it still has this BUG, as I couldn't find an explanation on what goes wrong - most probably at RLE encoding.
This may through some light on the issue of devide by 4
C004DBE5-34BD-4E46-8BA4-4DAB7060B42E.png
You do not have the required permissions to view the files attached to this post.
Digimod
Gwe89
Pro
Posts: 332
Joined: 09 Feb 2019, 21:21

Re: Apply custom images to Ford Convers+

Post by Gwe89 »

So we can edit some images but not all
You do not have the required permissions to view the files attached to this post.
Gwe89
Pro
Posts: 332
Joined: 09 Feb 2019, 21:21

Re: Apply custom images to Ford Convers+

Post by Gwe89 »

Thank you for the new update of CH DGAlexandru

Managed to replace my radio background and figured out how to remove the dab signal icon and moved my logo over so it displays without radio name overlapping, next I need to keep playing to get the background as close to the dark theme as I can,


20210101_113037.jpg
Added lines and corners to make it look more oem smaller logo
You do not have the required permissions to view the files attached to this post.
DGAlexandru
Pro
Posts: 364
Joined: 04 Aug 2019, 22:47

Re: Apply custom images to Ford Convers+

Post by DGAlexandru »

Convers+ IMG Hacker v1.3.4
### Improvement
- Now when you select another Theme the shown images are automatically repainted to show the change. It works for any image-related action: in VBF/BIN mode, in Convert Image mode, in RAW Image mode and so on.
### Fixed
- The BUG that was affecting Image Conversion is because of how QImage convertToFormat(QImage::Format_Indexed8) is designed:
it makes the new image's width (= bytes per line) to be a multiple of 4, so upon conversion it adds the "missing" bytes to every line (1, 2 or 3 bytes) and fills them with random data.
(https://forum.qt.io/topic/115559/qimage ... exed-image ; https://stackoverflow.com/questions/532 ... in-release)
The fix was done by skipping those added bytes in order not to encode them.

Using CH to downsize the image to the desired dimensions produces a pretty good quality (at least for tests) but I still recommend using an external image application that has more options regarding this.
400x198 resized to 249x195 CH.png
400x198 resized to 249x195 external.png
In this case the one resized with CH has more sharpness and it seems to actually be better :lol:
You do not have the required permissions to view the files attached to this post.
Last edited by DGAlexandru on 03 Jan 2021, 02:05, edited 3 times in total.
Gwe89
Pro
Posts: 332
Joined: 09 Feb 2019, 21:21

Re: Apply custom images to Ford Convers+

Post by Gwe89 »

DGAlexandru wrote: 02 Jan 2021, 00:34 Convers+ IMG Hacker v1.3.4
### Improvement
- Now when you select another Theme the shown images are automatically repainted to show the change. It works for any image-related action: in VBF/BIN mode, in Convert Image mode, in RAW Image mode and so on.
### Fixed
- The BUG that was affecting Image Conversion is because of how QImage convertToFormat(QImage::Format_Indexed8) is designed:
it makes the new image's width (= bytes per line) to be a multiple of 4, so upon conversion it adds the "missing" bytes to every line (1, 2 or 3 bytes) and fills them with random data.
(https://forum.qt.io/topic/115559/qimage ... exed-image ; https://stackoverflow.com/questions/532 ... in-release)
The fix was done by skipping those added bytes in order not to encode them.

Using CH to downsize the image to the desired dimensions produces a pretty good quality (at least for tests) but I still recommend using an external image application that has more options regarding this.
400x198 resized to 249x195 CH.png 400x198 resized to 249x195 external.png
In this case the one resized with CH has more sharpness and it seems to actually be better :lol:

crash.PNG
hey its seems to crash and close when i open an image tried any differrent ones still dos the same

sometimes i can get to here but it then crashes after RLE
get to here.PNG
You do not have the required permissions to view the files attached to this post.
Last edited by Gwe89 on 02 Jan 2021, 12:48, edited 1 time in total.
Drago

Re: Apply custom images to Ford Convers+

Post by Drago »

Gwe89 wrote: 02 Jan 2021, 12:33
DGAlexandru wrote: 02 Jan 2021, 00:34 Convers+ IMG Hacker v1.3.4
### Improvement
- Now when you select another Theme the shown images are automatically repainted to show the change. It works for any image-related action: in VBF/BIN mode, in Convert Image mode, in RAW Image mode and so on.
### Fixed
- The BUG that was affecting Image Conversion is because of how QImage convertToFormat(QImage::Format_Indexed8) is designed:
it makes the new image's width (= bytes per line) to be a multiple of 4, so upon conversion it adds the "missing" bytes to every line (1, 2 or 3 bytes) and fills them with random data.
(https://forum.qt.io/topic/115559/qimage ... exed-image ; https://stackoverflow.com/questions/532 ... in-release)
The fix was done by skipping those added bytes in order not to encode them.

Using CH to downsize the image to the desired dimensions produces a pretty good quality (at least for tests) but I still recommend using an external image application that has more options regarding this.
400x198 resized to 249x195 CH.png 400x198 resized to 249x195 external.png
In this case the one resized with CH has more sharpness and it seems to actually be better :lol:

hey its seems to crash and close when i open an image tried any differrent ones still dos the same
I have exactly the same
Post Reply