Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: Blurred images in Panel stack splitter after a while (Read 1401 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Blurred images in Panel stack splitter after a while

I have a Panel stack splitter (Columns UI) that shows track info.
A while ago, at the bottom I placed a bunch of images that are greyed out or in full light
according to the value of some tags.

I noticed that this images were shown blurred, even if the originals are sharp.
I tried changing them from .jpg to .png and it worked as they we suddenly shown correctly
but now they are blurred again.
I attached the original one and a screen capture of the same size.

This is what I have in the script:

Code: [Select]
$puts(dy_imgw,$div($mul(%ps_height%,10),100))
$puts(dy_imgh,$div($mul(%ps_height%,10),100))
$puts(dy_imgp,$div($mul(%ps_height%,90),100))

$puts(imgn,14) //Defines the total number of images
$puts(bglum,40) //Defines the luminosity of the backgroud images
$puts(h1,$get(imgh)) //Defines the width of the images
$puts(v1,$get(imgw)) //Defines the height of the images
$puts(mulh2,$div(%_width%,$get(imgn))) //Defines the distance between the center of two images accordingly to the width panel
$puts(mulh1,$get(mulh2)) //Defines the distance between the center of two images
$puts(padl,$div($sub($get(mulh2),$get(h1)),2)) //Defines the distance from the left margin
$puts(btm1,$get(imgp)) //Defines the bottom position of the images


//Dimmed images
$imageabs($add($mul($get(mulh1),0),$get(padl)),$get(btm1),$get(h1),$get(v1),'.\images\Breakfast black.png',bottom,,$get(bglum))


//Full light images
$if($strstr(%situation%,Break),$imageabs($add($mul($get(mulh1),0),$get(padl)),$get(btm1),$get(h1),$get(v1),'.\images\Breakfast black.png',bottom))

Does anybody know where this come from and how to avoid that?

Thanks.

Re: Blurred images in Panel stack splitter after a while

Reply #1
Try using $drawimage instead of $imageabs.

 

Re: Blurred images in Panel stack splitter after a while

Reply #2
That seems to have done the trick.
Thank you very much.