Re: Another GDIPlusX question
On Mon, 18 Jul 2022, at 1:50 PM, Eric Selje wrote: > "RubberDucking" > > https://en.wikipedia.org/wiki/Rubber_duck_debugging Haha, excellent. -- Alan Bourke alanpbourke (at) fastmail (dot) fm ___ Post Messages to: ProFox@leafe.com Subscription Maintenance: https://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: https://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: https://leafe.com/archives This message: https://leafe.com/archives/byMID/2b142725-fec3-42b1-af51-61a7c5621...@www.fastmail.com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Re: Another GDIPlusX question
"RubberDucking" https://en.wikipedia.org/wiki/Rubber_duck_debugging On Mon, Jul 18, 2022 at 4:13 AM Alan Bourke wrote: > On Sat, 16 Jul 2022, at 11:49 PM, Paul Newton wrote: > > Isn't it marvellous how simply posting a question to this esteemed list > > somehow kicks ones brain into gear ... albeit only after posting > > I call it the Stackoverflow effect. > > -- > Alan Bourke > alanpbourke (at) fastmail (dot) fm > > [excessive quoting removed by server] ___ Post Messages to: ProFox@leafe.com Subscription Maintenance: https://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: https://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: https://leafe.com/archives This message: https://leafe.com/archives/byMID/caawxvum7bdfamnroln81cy5rojppavzmvd7pjdaxvq-kfdz...@mail.gmail.com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Re: Another GDIPlusX question
On Sat, 16 Jul 2022, at 11:49 PM, Paul Newton wrote: > Isn't it marvellous how simply posting a question to this esteemed list > somehow kicks ones brain into gear ... albeit only after posting I call it the Stackoverflow effect. -- Alan Bourke alanpbourke (at) fastmail (dot) fm ___ Post Messages to: ProFox@leafe.com Subscription Maintenance: https://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: https://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: https://leafe.com/archives This message: https://leafe.com/archives/byMID/a94c3806-e5af-4295-b067-389ce6a33...@www.fastmail.com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
RE: Another GDIPlusX question
Isn't it marvellous how simply posting a question to this esteemed list somehow kicks ones brain into gear ... albeit only after posting StrToFile(STRConv(MyTable.MyImage,14),"Temp.BMP") With _Screen.System.Drawing loBMP = .BitMap.FromFile("Temp.BMP") etc etc EndWith Paul Newton --- StripMime Report -- processed MIME parts --- multipart/alternative text/plain (text body -- kept) text/html --- ___ Post Messages to: ProFox@leafe.com Subscription Maintenance: https://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: https://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: https://leafe.com/archives This message: https://leafe.com/archives/byMID/d8809b09-de43-9edd-6f28-27bf58398...@gmail.com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Another GDIPlusX question
Hi all I have been creating some bitmaps, saving their PictureVals and later assigning the PictureVal to an Image object: Assuming loBMP has already been created lcPictureVal = StrConv(loBMP.GetPictureValFromHBitmap(),13) Insert Into MyTable Values (lcPictureVal) && MyTable contains a single field called MyImage of type Blob then, later Thisform.Image1.PictureVal = StrConv(MyTable.MyImage, 14). This is all working well but what I want to do now (and so far am unable to) is to create a BMP (xfcBitmap) from the PictureVal stored in MyImage, either directly or somehow indirectly. I am sure this should be possible but at the moment I can't see how. Many thanks Paul Newton --- StripMime Report -- processed MIME parts --- multipart/alternative text/plain (text body -- kept) text/html --- ___ Post Messages to: ProFox@leafe.com Subscription Maintenance: https://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: https://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: https://leafe.com/archives This message: https://leafe.com/archives/byMID/5ce4cc08-1aa6-74f1-f398-93d58146f...@gmail.com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Re: Another GDIPlusX question
Hi Guys! I am always here to help you about GDI+ drawings. Michael, Paul said ...Of course you could get around that by storing all the elements of the drawing in a table - then when you click on the drawing, get the coordinates and do a lookup of them in the table to find the object clicked on ? This is the key point of the story. In this post you could find a very simple approach with some very useful classes http://weblogs.foxite.com/vassilisaggelakos/archive/2007/04/24/3726.aspx Mal, thanks for remembering me. Vassilis Aggelakos - Original Message - From: Paul Newton [EMAIL PROTECTED] To: profox@leafe.com Sent: Friday, July 20, 2007 5:07 PM Subject: Re: Another GDIPlusX question Malcolm Greene wrote: Michael, Search the web for Vassilis Aggelakos' VFP application. He has a web site that shows what he's been doing with pure VFP. Amazing. Michael Malcolm has a beter memory than I do Check here: http://weblogs.foxite.com/vassilisaggelakos/default.aspx He even has a sample project to download Paul [excessive quoting removed by server] ___ Post Messages to: ProFox@leafe.com Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED] ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Re: Another GDIPlusX question
MB Software Solutions wrote: I'd like to start doing some simple graphics...one of my FabMate clients does railings for a living and I'd like to paint a post with pickets...not sure if I can do this with VFP? Michael I don't understand - what exactly do you want to do ? Paul Newton ___ Post Messages to: ProFox@leafe.com Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED] ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Re: Another GDIPlusX question
Paul Newton wrote: MB Software Solutions wrote: I'd like to start doing some simple graphics...one of my FabMate clients does railings for a living and I'd like to paint a post with pickets...not sure if I can do this with VFP? Michael I don't understand - what exactly do you want to do ? Paul Newton I need to show a drawing of a picket fence with some distance markings between posts and pickets. Something like you'd see on blueprints. Even better, it'd be great to somehow allow the user to click on some parts of the drawing to perhaps enter even more details, like the color, style of rail, etc., and then have the picture change to reflect it. -- Michael J. Babcock, MCP MB Software Solutions, LLC http://mbsoftwaresolutions.com http://fabmate.com Work smarter, not harder, with MBSS custom software solutions! ___ Post Messages to: ProFox@leafe.com Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED] ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Re: Another GDIPlusX question
Michael Somebody on the list was doing something like this for designing window frames .. not sure how he was doing it. He *may* have been using Visio automation but I am not sure. Doing it with GDI might be tricky because it would be difficult to interact with the drawing once it had been painted/drawn - I think. Of course you could get around that by storing all the elements of the drawing in a table - then when you click on the drawing, get the coordinates and do a lookup of them in the table to find the object clicked on ? Hope it gives you some ideas, anyway ... Cheers Paul Newton I need to show a drawing of a picket fence with some distance markings between posts and pickets. Something like you'd see on blueprints. Even better, it'd be great to somehow allow the user to click on some parts of the drawing to perhaps enter even more details, like the color, style of rail, etc., and then have the picture change to reflect it. ___ Post Messages to: ProFox@leafe.com Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED] ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Re: Another GDIPlusX question
Paul Newton wrote: Michael Somebody on the list was doing something like this for designing window frames .. not sure how he was doing it. He *may* have been using Visio automation but I am not sure. I remember---it was someone in Brazil or the EU, iirc. Very cool stuff. Doing it with GDI might be tricky because it would be difficult to interact with the drawing once it had been painted/drawn - I think. Of course you could get around that by storing all the elements of the drawing in a table - then when you click on the drawing, get the coordinates and do a lookup of them in the table to find the object clicked on ? Although this stuff sounds neat I would rather many times just stay with actual raw gut DATA, and not obsess with interaction with graphics. Ugh! Thanks for the ideas, Paul! -- Michael J. Babcock, MCP MB Software Solutions, LLC http://mbsoftwaresolutions.com http://fabmate.com Work smarter, not harder, with MBSS custom software solutions! ___ Post Messages to: ProFox@leafe.com Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED] ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Re: Another GDIPlusX question
Malcolm Greene wrote: Michael, Search the web for Vassilis Aggelakos' VFP application. He has a web site that shows what he's been doing with pure VFP. Amazing. Michael Malcolm has a beter memory than I do Check here: http://weblogs.foxite.com/vassilisaggelakos/default.aspx He even has a sample project to download Paul ___ Post Messages to: ProFox@leafe.com Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED] ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Re: Another GDIPlusX question
Paul Newton wrote: Cesar Many thanks again - a terrific help. I am just about to start looking for different fill types - ie, horizontal lines, vertical lines, up and down diagonal lines, vertical-horizontal hatching, diagonal hatching etc. I'd like to start doing some simple graphics...one of my FabMate clients does railings for a living and I'd like to paint a post with pickets...not sure if I can do this with VFP? I am really enjoying GDIPlusX ! Dittothe screenshot capture code that he supplied was AWESOME! My clients absolutely love it, and it takes a lot of guesswork out of their emails to me!!! -- Michael J. Babcock, MCP MB Software Solutions, LLC http://mbsoftwaresolutions.com http://fabmate.com Work smarter, not harder, with MBSS custom software solutions! ___ Post Messages to: ProFox@leafe.com Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED] ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Another GDIPlusX question
Hi all I have a form with an imgcanvas on which I am drawing some shapes and I'm then saving the image to file using variants of .Save(SwatchTest.BMP,_screen.system.Drawing.Imaging.ImageFormat.BMP) By default the image saved has a color depth of 16M (for BMP, PNG, JPEG, TIFF) and 256 (for GIF). 1. How can I change the default color depth of the saved image (e.g. 64K BMP) 2. What other parameters are there to experiment with when saving images to file ? Thanks Paul Newton ___ Post Messages to: ProFox@leafe.com Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED] ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.