Jump to content

Attila Kovacs

Members
  • Content Count

    2023
  • Joined

  • Last visited

  • Days Won

    26

Everything posted by Attila Kovacs

  1. Attila Kovacs

    TBitmap32 to jpg (graphics32)

    It's always your best guess and I don't have any other ideas either, but I don't know the internals and the Delphi manual is also very limited. Anyway, I can't invest any more time into this to figure it out myself and the solution I got I like much more as it skips an unnecessary step.
  2. Attila Kovacs

    TBitmap32 to jpg (graphics32)

    Well, it's not my problem anymore. @angusj provided a solution to overcome that.
  3. Attila Kovacs

    TBitmap32 to jpg (graphics32)

    Who are you talking to? Nobody said that it leaks, but somehow something won't release some memory until the app is closed, thus, it can not be used in a service. Measure? ctrl-shift-escape, there you can measure. Or you can wait until the out of resources dialog.
  4. Attila Kovacs

    TBitmap32 to jpg (graphics32)

    Never heard of it. Is it already in Berlin?
  5. Attila Kovacs

    TBitmap32 to jpg (graphics32)

    Very PC. I lost my patience after the 3rd dependency, however, looking into the sources it is quality work indeed. I'll check the speed against TImage32 when I found some time.
  6. Attila Kovacs

    TBitmap32 to jpg (graphics32)

    @Anders Melander Thanks, I'll check that too.
  7. Attila Kovacs

    TBitmap32 to jpg (graphics32)

    I see, still, something is different, memory is released asap. With your lib, in 8 threads, converting 13GB/5200 jpg's the application takes 500MB-1GBPeak RAM. With my converter, TPicture.LoadFromFile, DrawTo TBitmap, Resize to another TBitmap, assign to JPEGImage, save: RAM is linear up to 13GB+. There is no memory leak, something in Windows is holding some working RAM or whatever. I don't care anymore.
  8. Attila Kovacs

    TBitmap32 to jpg (graphics32)

    Wow man, thank you for pointing this out, this is a remarkable library indeed, just what I was looking for. The endless memory consumption of TBitmap is hereby solved.
  9. Attila Kovacs

    TBitmap32 to jpg (graphics32)

    Yeah, kinda, I don't know the internals, but that needs TBitmap which causes me gigabytes of unreleased RAM if I'm using it from threads. I could not find any info on that either.
  10. Attila Kovacs

    TBitmap32 to jpg (graphics32)

    I mean no extra dll's. This turbo lib depends on two dll's afaics.
  11. Attila Kovacs

    TBitmap32 to jpg (graphics32)

    @dummzeuch Thx but I'm only interested in pure pascal solutions.
  12. Attila Kovacs

    Hextor - Hexadecimal editor and binary data analyzing toolkit

    it must be good, it's dark
  13. Wow. Thinking out loud: If you already cast ResObj to TObject in the code, can't you just give it the same type in the parameter list?
  14. Attila Kovacs

    bdslauncher stopped working

    bdslauncher stopped working, can't open pas' with dbl click anymore, strangely for both installations (10.1/2007) if I rename bdslauncher the system complains that the application is missing. how should I debug it further?
  15. Attila Kovacs

    bdslauncher stopped working

    no bds running, dpr from shell starts bds, opens project, no further shell actions are working, no pas, dpr, dproj are passed to the IDE no bds running, dproj from shell starts bds, opens project, no further shell actions are working, no pas, dpr, dproj are passed to the IDE no bds running, pas from shell starts bds, does NOT opens the pas file, no further shell actions are working, no pas, dpr, dproj are passed to the IDE
  16. Attila Kovacs

    bdslauncher stopped working

    Okay, the same happened on my other machine, clicking on a pas brought up the select app dialog with bdslauncher on the first place, clicked on it, and that's it. It doesn't work anymore.
  17. Attila Kovacs

    bdslauncher stopped working

    found it, no luck, but the right association is there, it's bdslauncher which stopped doing anything
  18. Attila Kovacs

    DBGrid repaint or refresh when dataset is refreshed

    dataset.disablecontrols; / dataset.enablecontrols;
  19. Attila Kovacs

    Changing TToolButton image and using transparency

    To be able to manage that I took outline SVG icons. Every style has colors for the font included, so I take the normal text color for the outline color: <Style>.GetStyleFontColor(sfWindowTextNormal) With Riversoft's SVG Library I can iterate through the elements of the SVG's (runtime, loaded into SVGImagelists or SVGDocuments) and change the pen/brush color. (Or anything else, like text for calendar etc...) Maybe other libs can offer the same, I don't know. Some of them are storing the SVG as text AFAIK, I would not take such a lib. Some of them will need extra libraries installed on the client machine, which is a joke for just showing SVG icons. Maybe if you have a drawing app or similar.. Also, themes are overrated. An average user will never use it except you will force him to use it. 99% the theme users are Developers. Also, dark themes are not good for the eye, contrary to belief.
  20. Attila Kovacs

    Debug visualizers

    Why don't we have a bunch of cool visualizers in the IDE when it's pretty easy to make? (let's see how video embedding works, youtube had a very bad video quality) In the video there is a TStringList Visualizer I put together. Visualizer.mp4
  21. Attila Kovacs

    Fastreport

    Are the Master and Detail dataset the same? Or am I blind.
  22. Attila Kovacs

    IDE Editor Focus Problem

    Something is happened to my IDE the Evaluate/Modify window is not giving back the focus to the editor on closing it. I have to click into the editor every time. Any thoughts what could cause this?
  23. Attila Kovacs

    IDE Editor Focus Problem

    Ok, it was me, delete this thread pls. disabled my own expert then enabled again and now the problem is gone..... strange as I have this problem since 1-2 weeks and IDE was restarted several times
  24. Attila Kovacs

    Prevent Delphi IDE Multiple Instance

    Shortcuts like a shortcut to Delphi on your desktop or anywhere. It has a hoykey setting which you could have set accidentally. Did you check them? Use this: http://www.nirsoft.net/utils/shman.html
×