Re: [E-devel] imlib_create_cropped_scaled_image doesn't work for bicolor images

Kim Woelders <[email protected]> Sat, 24 Jun 2023 18:07:11 +0200
Newsgroups gmane.comp.window-managers.enlightenment.devel
Message-ID <[email protected]>
I have pushed some changes that I think makes the scaling work as expected.

For now the old behavior can be restored by setting the environment 
variable IMLIB2_LEGACY_SCALING to any value.

With e16 I have only seen some mostly minor issues with incorrectly 
rendered elements in a few themes.

If this change causes major trouble the default may have to be reverted 
to the old behavior.

/Kim


On 2023-04-13 21:35, Bep Rinto wrote:
> If it has always been this way (has it?), then one idea is to write a
> 'imlib_create_cropped_scaled_image2' second version with the desired
> behavior.
> Could it be discernable in the header and documented which implementation
> of imlib_create_cropped_scaled_image is broken or fixed?
> The documentation is a bit scant. It leaves me wondering what is meant,
> sometimes. It could be more elaborate for sure. That would save time and be
> more pleasant to work with.
> Thanks a lot for all your time and effort maintaining this fine library.
> Op do 13 apr 2023 om 17:58 schreef Kim Woelders <[email protected]>:
> 
>> Right, seems wrong. Same thing with recent code.
>> I suspect there may be no trivial fix, as changing this behavior may
>> break applications that rely on it.
>> I'll dig into it when time permits.
>>
>> /Kim
>>
>>
> 
> _______________________________________________
> enlightenment-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel