WebP Support in Skia - New in Delphi 12 - 227

  Рет қаралды 2,611

Alister Christie

Alister Christie

Күн бұрын

LearnDelphi.tv WebP images are a lossy image compression format similar to jpg, only better. Find out how to use them and other ways to improve image loading performance in Delphi.

Пікірлер: 20
@deepakdhyani648
@deepakdhyani648 10 ай бұрын
var declaration inside the begin-edit block. Sweet!!
@codegearguru
@codegearguru 10 ай бұрын
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
@CapeCodGunny 10 ай бұрын
Thanks Alister, very interesting. I'd be interested to see the Skia benchmarks between VCL and FMX.
@codegearguru
@codegearguru 10 ай бұрын
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.
@johnjensen4425
@johnjensen4425 5 ай бұрын
You mentioned a few times creating a memory leak, can you describe the leak and how it is created?
@codegearguru
@codegearguru 4 ай бұрын
Without me re-watching the video, I probably skipped the try..finally..end, so if there was an exception it would leak memory.
@nigelarmstrong252
@nigelarmstrong252 10 ай бұрын
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
@codegearguru 10 ай бұрын
I've update the title to include Skia - cheers.
@JanDoggen
@JanDoggen 10 ай бұрын
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 ;-)
@bernhardlippmann1596
@bernhardlippmann1596 9 ай бұрын
can you do this zooming with your app in a next version, what is max. size of *.jpgs you can handle ?
@codegearguru
@codegearguru 9 ай бұрын
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
@asfaerfadfasdfsadf5211 10 ай бұрын
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
@pmcgee003 10 ай бұрын
Did you *ask* on the forums and fb ? Lots of people want to help, and might also benefit themselves.
@Zaaka
@Zaaka Ай бұрын
Is it Possible to use DELPHI 12 and SKIA to convert webp images to jpeg? if so how?
@codegearguru
@codegearguru 3 сағат бұрын
Yes, it's possible - but I can't think how to do it off the top of my head.
@andrewbrown8463
@andrewbrown8463 9 ай бұрын
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
@fburton8 10 ай бұрын
I have gone into memo Lines to delete Memo1 more times than I’ve had hot dinners! 😾
@codegearguru
@codegearguru 10 ай бұрын
Maybe I should write an IDE plug-in...
@bruceh6814
@bruceh6814 10 ай бұрын
Why not just create your own descendent TMemo component that does that?
@fburton8
@fburton8 10 ай бұрын
@@bruceh6814 Yes, I thought of doing that. Even better if it could be made to replace the existing TMemo on the Standard palette.
Build Notepad.exe in Delphi - Delphi 231
34:29
Alister Christie
Рет қаралды 2,6 М.
Ways to Improve VCL Rendering Times - Delphi 236
10:37
Alister Christie
Рет қаралды 1,3 М.
I tricked MrBeast into giving me his channel
00:58
Jesser
Рет қаралды 24 МЛН
Try Not To Laugh 😅 the Best of BoxtoxTv 👌
00:18
boxtoxtv
Рет қаралды 6 МЛН
啊?就这么水灵灵的穿上了?
00:18
一航1
Рет қаралды 100 МЛН
Coding Graphics in C: SetPixel, LineDraw, Moire and More!
8:36
Dave's Garage
Рет қаралды 146 М.
Reduce the Memory Required to Build Your Project - Delphi 229
16:03
Alister Christie
Рет қаралды 1,4 М.
Discover Multiline String Support in Delphi 12
15:53
tmssoftwareTV
Рет қаралды 847
William Candillon - The Joy of Painting with Skia | App.js Conf 2023
19:48
How AI 'Understands' Images (CLIP) - Computerphile
18:05
Computerphile
Рет қаралды 209 М.
Monster magnet meets microwave magnetron...
17:44
Brainiac75
Рет қаралды 51 М.
Leopard 8. Для тех, кто хочет ездить в танке
14:41
Гилевич Сергей
Рет қаралды 142 М.
ASMR Programming - Spinning Cube - No Talking
20:45
Servet Gulnaroglu
Рет қаралды 4,1 МЛН
Multi-Line Strings - New in Delphi 12 - 224
6:50
Alister Christie
Рет қаралды 4,4 М.
I tricked MrBeast into giving me his channel
00:58
Jesser
Рет қаралды 24 МЛН