Yes, in 2016 - as we already know from a different conversation - Xojo is wrong to really bad with Graphics
I shared below the Image file and how it is resized withing Xojo.
The original image was scanned, saved as jpg. I loaded it, remove the white background, change some colors, resize it and save it using GIMP (copy it before closing the file in GIMP). Drats: saved as jpg, there is no alpha channel, but the result is as bad as with the alpha channel.
Ive done the above because my “original” (png) file looked as bad as you can see (far) below.
I add the
CopyPaste feature to that project for the occasion (in case it was the
Open feature that was involved).
The original project was created using Xojo 2015r1. I open it using Xojo 2016r2 - in case a change may have been added since last year - and checked with this version too (faster than reading a bunch of release notes).
At last, I used the bucklet to fill the colors in case it was the original scan colors that is in cause and I waste my time (same results).
Before posting this text, I checked Graphics.UseOldRenderer but this is deprecated.
I even changed the
Integer variables used to resize the image to
Double (yes, this matters in the way the image size is done at DrawPicture time *)
This happens on 2 images on a 32 images process (30 nice icons were generated).
Sorry Sir, I will wait a bit more version(s) to upgrade Xojo (if I will do it).
Am I angry ? Yes ! And I am a customer (not a bird).
Note: I am hungry too, but this is because it is 8 PM and I do not eat anything since lunch.
BTW and before I forget:
OS X 10.11.6 (installed from App Store this afternoon)
Checked with Xojo 2015r1 AND 2016r2.
Under some original sizes / target resized pictures, a difference of 1 (or more ?) pixel(s) can occured when Integers are used.
Image created by the project: