[Fixed] Bar Image "Ghosts" per Mordasius

Testing and discussion of the conversion of Rainmeter to D2D.
User avatar

[Fixed] Bar Image "Ghosts" per Mordasius

August 4th, 2018, 9:17 pm
eclectic-tech
Rainmeter Sage   [2842 posts]

Specs:
Rainmeter 4.3.0.3218 beta (64-bit)
Language: English (1033)
Build time: 2018-08-03 6:57:38
Commit Hash: c0bf50d8
Windows 10 Pro 1803 64-bit (build 17713) - English (1033)
Path: C:\Rainmeter3218_64bit\
SkinPath: C:\Users\John\Rainmeter\Skins\
SettingsPath: C:\Rainmeter3218_64bit\
IniFile: C:\Rainmeter3218_64bit\Rainmeter.ini

I discovered the issue raised by Mordasius in another thread is still a problem.

The issue only appears when the bar image BarOrientation option is "Horizontal" and the image being cropped is smaller than the current screen resolution. When the image is as large as the current screen or larger, the ghost is still present, but off the right side of the screen (actually there are several ghost images one-after-the-other to the right of the screen).

Here are a few examples; 1366x768 screen resolution, images are 960x688 (1), 800x571 (2), and 1080x681 (3) respectively.


EDIT: If it helps, I am cropping the images using half their width and height measured from the center of the image; which turns out to be an image 1/4 the original size, showing the center portion of the original cropped as bands. :)
Last edited by eclectic-tech on August 14th, 2018, 1:59 pm, edited 1 time in total.
User avatar

Re: Bar Image "Ghosts" per Mordasius

August 6th, 2018, 5:52 pm
theAzack9
Developer   [473 posts]

eclectic-tech wrote:...

Hey eclectic-tech, do you happen to have a download to that skin so i can test it? :)
User avatar

Re: Bar Image "Ghosts" per Mordasius

August 7th, 2018, 2:26 am
eclectic-tech
Rainmeter Sage   [2842 posts]

theAzack9 wrote:Hey eclectic-tech, do you happen to have a download to that skin so i can test it? :)

Download from my DA site: https://www.deviantart.com/eclectic-tech/art/Picturalizer-609577793

Open the "Configure" skin to set the location of your images; the first location is wallpapers, the second is for bar images.

Run the "Random.ini" version and play some music.

To see the issue:
From the context menu, set the style to "Bands", this uses horizontal bar images (works normally in "Bar" mode ~ vertical bar images).
You can change images by toggling the auto-change, click the @ symbol, or refreshing the skin.

Thanks for looking into this! :17nodding
User avatar

Re: Bar Image "Ghosts" per Mordasius

August 9th, 2018, 10:55 am
jsmorley
Developer   [17820 posts]

Can you re-test and let us know if the latest r3224 alpha corrects this issue?
User avatar

Re: Bar Image "Ghosts" per Mordasius

August 9th, 2018, 4:42 pm
eclectic-tech
Rainmeter Sage   [2842 posts]

:17denial
No Love!

With smaller images, it struggles to crop correctly; cropped images are compressed into what appears to be 1 of my "BarWidth" size, and the "ghost" images are now in BOTH vertical and horizontal bar orientations and are now horizontally compressed; they used to only show in horizontal bar at normal resolution.

With full-screen or larger images, the skin locks up and eventually crashes my PC.
The larger images also show a "ghost" images, and are distorted as described above...

This happens with the Random.ini; this use a scaled image size to calculate the size of the cropped images into the desired number of bars/bands.

The Bar-Full.ini uses images that have been resized in a graphic editor and does not scale the image; this skin works, but the scaled version doesn't.

I will try some more troubleshooting to see if I can use a different approach and mimic the actions in this skin in the troublesome Random.ini.

Of course that will take some time since it requires a forced shutdown and reboot when loaded or refreshed... ;p
User avatar

Re: Bar Image "Ghosts" per Mordasius

August 10th, 2018, 12:22 am
eclectic-tech
Rainmeter Sage   [2842 posts]

Using v 4.3.0.3225 I can load the skin and provide some feedback.
The original images are being properly cropped at the correct offsets and height and width, but then the display of those images is compressed horizontally; in the example it should be 960x540, but the horizontal bars are compressed...

A picture can be worth more so here is what I am currently seeing, compressed display in BAR mode, no "Ghost" images.

This is the full-size image and the area that is cropped, the display should be an undistorted version of the boxed area.

Hope this helps :welcome:
User avatar

Re: Bar Image "Ghosts" per Mordasius

August 10th, 2018, 3:56 pm
eclectic-tech
Rainmeter Sage   [2842 posts]

V 4.3.0.3227 corrected the distorted image (no longer horizontally compression) :17good

However. the "ghost" image still appears when the bar orientation is set to horizontal... :17oops

Note: Using "Random.ini" of Picturalizer...
User avatar

Re: Bar Image "Ghosts" per Mordasius

August 11th, 2018, 3:18 pm
eclectic-tech
Rainmeter Sage   [2842 posts]

Revision r3230 reintroduced the horizontal compressed cropped image (still with ghost images) when bar meter orientation is horizontal...
3230 Bar Meter orientation=horizontal shows this

Same version, image, and code except with Bar Meter orientation=vertical
User avatar

Re: Bar Image "Ghosts" per Mordasius

August 13th, 2018, 3:37 am
eclectic-tech
Rainmeter Sage   [2842 posts]

I was mistaken... r3230 is NOT causing distortion as I descibed above. :17denial
Sorry for confusing the issue... :17oops

All my current testing is not producing any problems :17good
User avatar

Re: Bar Image "Ghosts" per Mordasius

August 13th, 2018, 4:01 am
jsmorley
Developer   [17820 posts]

eclectic-tech wrote:I was mistaken... r3230 is NOT causing distortion as I descibed above. :17denial
Sorry for confusing the issue... :17oops

All my current testing is not producing any problems :17good


So to be clear, you have no issues currently with BarImage?

Return to “Rainmeter 4.3 Alpha Test”



Who is online

Users browsing this forum: No registered users and 1 guest