News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests
NB: Posting URL's See here: Posted URL Change

Main Menu

Recent posts

#91
The Workshop / Re: gdiplus tests
Last post by zedd151 - March 14, 2025, 01:18:18 PM
Here is my latest, a few minor needed changes based on example in #1. No animations here though, Sorry guys.

First I put the gdip startup code into a procedure, is called from WM_INITDIALOG
Also, put the image loading code into a procedure, is called from WM_INITDIALOG as well

Added a routine using GetOpenFileName, to choose an image file upon program starup, rather than using a hard coded image name. Gets called after loading the image.

I added code to get the image size. The client area will now be automatically sized exactly to the image size. rather than using hard coded image dimensions.

Some issues linger regarding image size.  :rolleyes:  if too large or small... (larger than screen dimensions, smaller than minimized window client)
For the larger images, I *could* use scrollbars on the main window, with all the phun that it entails.  :toothy:

A few other errata also to attend to, before it's ready for prime time.
Another thing, this program does not handle images with transparency.
#92
The Orphanage / Re: ChatGPT+Gemini Experiments
Last post by six_L - March 14, 2025, 01:14:12 PM
Hi,guga
QuoteMy 2 cents.
Fair evaluation about AI
#93
UASM Assembler Development / Re: GDI+ gif animation
Last post by six_L - March 14, 2025, 12:34:20 PM
Hi,ognil
Thank for you'r interesting.

QuoteIs it possible to post a link to the example source code?
QuoteIf you are referring to Mikl_'s example where six_L is learning from, its here:
https://masm32.com/board/index.php?msg=67154

Is that the right one, six_L???
Yes,This is right.

QuoteI tried to compile with masm64 VS but I get the error.
Me too.
While translating Mikl_'s code, I used "translate indirectly", not "translate directly", Even used debug.

Welcome to point out errors in my translated codes.

Regards
six_L

#94
The Workshop / Re: gdiplus tests
Last post by NoCforMe - March 14, 2025, 09:19:30 AM
Needs sound: "I tawt I taw a putty tat!".
#95
The Workshop / Re: gdiplus tests
Last post by zedd151 - March 14, 2025, 09:00:59 AM
Quote from: zedd151 on March 14, 2025, 08:24:39 AM
Quote from: jj2007 on March 14, 2025, 07:42:07 AMis transparent (tweetie isn't)
I'm working on one that will be.  :tongue:
Scratch that idea.
It had been so long that I had used ImageReady or Gimp to make transparent animated .gifs, I had forgotten much of what I once knew. Maybe some time in the future. A shame though, I have a 500 pixel wide clean copy of tweety in .gif with transparency. I fubarred my first several attempts so far. I might simply be missing a setting. They all had a white background.  :rolleyes:

from https://officialpsds.com/tweety-fun-gif-rvyz32
#96
The Orphanage / Re: ChatGPT+Gemini Experiments
Last post by guga - March 14, 2025, 08:55:08 AM
My 2 cents.

ChatGPT and Deepseek and Gemini tend to respond to what you expect, that is, it's almost like a suck-up. And you often get warnings that you've broken some rule that you don't even know what it is. Deepseek has a few fewer of these problems, but it's very slow and seems like a copy of ChatGPT to me. The problem with Deepseek is that it's slow and the server constantly stops, or when you have input limits like ChatGPT. Grok, on the other hand, is more robust so far. It doesn't just respond to what you want to hear, but actually helps you develop something or responds even when it's not what you'd like or don't agree with. Grok also has a free version, so it's a great alternative. Gemini is also an interesting alternative, but since it's Google, you'll occasionally come across this nonsense about restrictions for "violating rules of who knows what." For programming, all 4 have flaws, obviously, but they end up complementing each other. So, depending on what you want to do, it's good to alternate between the 4. One problem i face with them (except Grok, so far i saw), is that they don´t have access to other sessions, so if you are trying to do something in one session and needs to open a new one, they can´t be able to read previous information on another session and you needs to start over again.
For images, I use Google's Imagefx or Whiskey, which, in addition to being free, gives very good results. However, Google has a lot of restrictions on this nonsense of "you don't follow the rules of whatever". In general, these things are politically correct nonsense, even if you haven't entered anything out of the ordinary.
#98
The Workshop / Re: gdiplus tests
Last post by zedd151 - March 14, 2025, 08:24:39 AM
Quote from: jj2007 on March 14, 2025, 07:42:07 AMis transparent (tweetie isn't)
I'm working on one that will be.  :tongue:
#99
The Workshop / Re: gdiplus tests
Last post by NoCforMe - March 14, 2025, 07:46:20 AM
Quote from: zedd151 on March 14, 2025, 06:56:38 AM@: NoCforMe
Stop being a buzzkill.  :skrewy:
No.
#100
The Workshop / Re: gdiplus tests
Last post by jj2007 - March 14, 2025, 07:42:07 AM
Quote from: sinsi on March 14, 2025, 04:48:14 AMUpdated

You might use a lighter background. The animated-looney-toons-image-0017.gif is transparent (tweetie isn't)