var declaration inside the begin-edit block. Sweet!!
@codegearguru Жыл бұрын
Yes, inline var support is nice. Better performance, better readability, (when used correctly), faster to type, and I'd say "easier to refactor" if it didn't break the refactoring tools. Combined with type inferencing and it can seem like magic.
@CapeCodGunny Жыл бұрын
Thanks Alister, very interesting. I'd be interested to see the Skia benchmarks between VCL and FMX.
@codegearguru Жыл бұрын
Hi Michael, by all accounts the FMX is now much faster then previously now that is using Skia. Comparing FMX and VCL is hard because, while FMX can take more advantage of the rendering capabilities of your GPU, the VCL is pretty close to the metal (Win32). Also if you are doing any remote desktop (RDP), using the Win32 API can be very advantageous.
@johnjensen44257 ай бұрын
You mentioned a few times creating a memory leak, can you describe the leak and how it is created?
@codegearguru6 ай бұрын
Without me re-watching the video, I probably skipped the try..finally..end, so if there was an exception it would leak memory.
@nigelarmstrong252 Жыл бұрын
Interesting but I did get a bit lost during your coding machinations. Can I suggest you add Skia into the video title to get more hits. Maybe it's all going to be different now with Skia but I've always wondered why we can't add a TImage component to a form and have the option to select what image types are required which then get automatically added to the uses clause.
@codegearguru Жыл бұрын
I've update the title to include Skia - cheers.
@bernhardlippmann1596 Жыл бұрын
can you do this zooming with your app in a next version, what is max. size of *.jpgs you can handle ?
@codegearguru Жыл бұрын
I'm not sure about the maximum size for .jpg files, I would presume very large - assuming you have the memory and processing power available.
@asfaerfadfasdfsadf5211 Жыл бұрын
I love delphi, but yesterday i had a problem with a speedbutton on a panel. I had a LoadFile on the speedbuton and some Tstringlist i created. I have assigned a image to the speedbutton from an Imagelist and every time i clicked the speedbutton the image disappeard for a second until the open file dialog comes on front. Then i searched 2 hourse on forums and reddit what was the problem and i found a solution. If parentbackground is enabled on the panel the Speedbutton will flicker. And this is why i hate delphi. When i must guess a bug.
@pmcgee003 Жыл бұрын
Did you *ask* on the forums and fb ? Lots of people want to help, and might also benefit themselves.
@JanDoggen Жыл бұрын
Your 'Save VCL Jpeg' is incorrect because it includes compression time. Good remark about us not being able to see the compression artifacts because of the KZbin H264 compression ;-)
@Zaaka4 ай бұрын
Is it Possible to use DELPHI 12 and SKIA to convert webp images to jpeg? if so how?
@codegearguru2 ай бұрын
Yes, it's possible - but I can't think how to do it off the top of my head.
@andrewbrown8463 Жыл бұрын
It is a shame that Delphi is still using file extensions for the Tpicture loading mechanism instead of just examining the first few bytes of the stream which would make it much more robust along with a simple convertTo(format) function
@fburton8 Жыл бұрын
I have gone into memo Lines to delete Memo1 more times than I’ve had hot dinners! 😾
@codegearguru Жыл бұрын
Maybe I should write an IDE plug-in...
@bruceh6814 Жыл бұрын
Why not just create your own descendent TMemo component that does that?
@fburton8 Жыл бұрын
@@bruceh6814 Yes, I thought of doing that. Even better if it could be made to replace the existing TMemo on the Standard palette.