Search:

Type: Posts; User: -Corso->

Page 1 of 3 1 2 3

Search: Search took 0.01 seconds.

  1. Re: Interogating names of Cairo Imagelist Entires?

    It appears 'Current_Directory & Found_File' was only in the file loading section of Cairo.imagelist.addimage and I was using the image count as the key.
    I was wondering why keybyindex only gave me...
  2. [RESOLVED] Interogating names of Cairo Imagelist Entires?

    Howdy Cairo Squad,
    I've a question regarding the Cairo Imagelist Facility.
    Can one grab the name of a Cairo Image if you feed it the index number?

    Like for example: Msgbox...
  3. Re: About a single instance of a For Next loop

    I always thought this posting account was a broken and failed chatbot AI. Literally everything is nonsensical from it.
  4. Re: [RESOLVED] My Potions are too strong for you Traveller. Cairo Hue Shift?

    185029
    Pure fantasy madness...
    I loves it.
    Ah, thanks for the explanation Olaf.
  5. Re: [RESOLVED] My Potions are too strong for you Traveller. Cairo Hue Shift?

    Oh nice Job Dilettante. That works nicely! There's a man who knows his potion bottles. And a swift drink to you!

    Olaf, did something go a bit funny? The little leather bits didn't alter and there...
  6. Re: [RESOLVED] My Potions are too strong for you Traveller. Cairo Hue Shift?

    185020
    Ahhhhh it's working now. Fancy a little tiddly wink there guvenar!

    I tweaked the saturation in the code too. You just overwrite the Saturation value to a new random one.

    185021
  7. Re: My Potions are too strong for you Traveller. Cairo Hue Shift?

    Ok, here's my working code for a Cairo Surface shift.
    Just feed it any surface and give it a 0 to 255 hue shift amount.

    185018

    BUT: Stick in this guy's modules before you do:...
  8. Re: My Potions are too strong for you Traveller. Cairo Hue Shift?

    Very happy to encourage users back to VB6. :D

    Attached are some rough PNG's. Normally I'd remove the leather but it doesn't matter in this instance. Techgnome's link has the RGB HSV conversion...
  9. Re: My Potions are too strong for you Traveller. Cairo Hue Shift?

    185015
    Ok, to explain, that slider function has overwritten all tones in the image when activated. It's 'looks' like a hue shift functionally speaking, but it actually overwrites first, then your...
  10. Re: My Potions are too strong for you Traveller. Cairo Hue Shift?

    Niya, reading your code is like....
    185012

    Not the hue shift I was looking for. *Finger motion*. Carry on.
    185013

    Meanwhile, the Methstar is nearing completion.... R G B are now in separate...
  11. Re: My Potions are too strong for you Traveller. Cairo Hue Shift?

    185000
    Here's a quick breakdown of the potion assembly. Note, you must NOT start with a greyscale image. That is forbidden! :eek:
    Puh! Dirty Hobbitses and their greasyscales!
    185001

    There are...
  12. Re: My Potions are too strong for you Traveller. Cairo Hue Shift?

    Hi Olaf,

    I was getting the similar results with a basic Operator = CAIRO_OPERATOR_HSL_SATURATION to my original picture. (Because it already has colour tones in it, which allows the hue shift.)...
  13. Re: My Potions are too strong for you Traveller. Cairo Hue Shift?

    Thanks Niya. I'll examine this in detail. I'm actually dead tired and sore after a hospital visit, plus I have to go back in a few days. I'd like to write up the Cairo version using your formula as...
  14. Re: My Potions are too strong for you Traveller. Cairo Hue Shift?

    Yes, RC6 does allow you to read and write pixel data. (BindToArray). I can do that to grab RGB and Alpha. Ah, so I just need to find the code to switch that to HSV. Nice!
  15. Re: My Potions are too strong for you Traveller. Cairo Hue Shift?

    Yeah, just an entire 'image' or 'Cairo surface' hue shift. I don't need anything fancy.

    Cairo is preferable, if it's available as a thing. Cairo seems to have a lot of built in art functions, but...
  16. Re: My Potions are too strong for you Traveller. Cairo Hue Shift?

    Yes.

    The trashy workaround I 'just' thought up a moment ago does this, sort of... It's not precisely predictable or code worthy, but the light levels stay perfect as do the hue shift. <- I have...
  17. Re: My Potions are too strong for you Traveller. Cairo Hue Shift?

    Thanks Niya, though I can't read your files... :) I don't have .Net installed anymore. Can I open one in word pad perhaps, which file?
    184983

    Thanks Arnoutdv I'll take a looksee.

    Though I was...
  18. [RESOLVED] My Potions are too strong for you Traveller. Cairo Hue Shift?

    Hi Cairo Squad,
    I've been testing another autobuilder, but came to an abrupt halt.
    Short version, handmade Photoshop sketch tests, thought they looked particularly cool, made a Cairo re-assembler...
  19. Thread: VB6 Tron Game

    by -Corso->
    Replies
    19
    Views
    738

    Re: VB6 Tron Game

    Well, most likely. Listboxes add, indefinitely. Textboxes and Labels only grab the one instance of what you send to it. Ie: They only change when you update them. ... If I understand what you're...
  20. Thread: VB6 Tron Game

    by -Corso->
    Replies
    19
    Views
    738

    Re: VB6 Tron Game

    Listbox? Wut. Shouldn't you be using a Textbox or Label for displaying scores?
  21. Thread: VB6 Tron Game

    by -Corso->
    Replies
    19
    Views
    738

    Re: VB6 Tron Game

    I just use this code if I want to interogate a Picturebox's pixel colour (x,y)
    This goes in the Module section:
    Private Declare Function GetPixel Lib "gdi32" (ByVal hDC As Long, ByVal X As Long,...
  22. Re: [RESOLVED] Cairo Wiget / Form setout question

    Ah! I'm playing with it, and I JUST found that out. I was going to say, but you beat me to the punch. I was REALLLY surprised that it has this function. It is particularly Awesome. Thanks again!
  23. Re: Cairo Wiget / Form setout question

    And as the Vb Monkeys waded into the seaside silt and scuffled their arms about, they began diligently, sifting through the opaque mud for pippies and small clams. With a resounding roar of two twin...
  24. Re: Cairo Wiget / Form setout question

    Nice work JpBro! Getting there!

    SearchingDataOnly Ohhhh. An Panel insert.. Ah that also sounds like it might work. I'll start digging too. Thanks.
  25. Re: Cairo Wiget / Form setout question

    And this sounds like a very big problem, that would mean having to build every type of added control from scratch... Checkboxes to drop menus to everything else. I don't have the skills to do that...
  26. Re: Cairo Wiget / Form setout question

    Hi again JpBro.
    Ok, shamelessly, I've done nothing of consequence, I've only made a form with a picturebox on it, with the central backdrop. I made a large circle starfield for collecting the...
  27. Re: Cairo Wiget / Form setout question

    Hi JpBro, ahh, I thought I was going mildly insane with the Widget stuff. I thought it was going to be easy, but it's the 'where do I find what this does' issue. One needs to have the divine powers...
  28. [RESOLVED] Cairo Wiget / Form setout question

    Hi to the Cairo Squad,

    I finally found 'right' widget tutorial batch to start at, but I've a question regarding setout of things.

    At the moment, I'm printing image tiles to a standard form's...
  29. Replies
    7
    Views
    5,338

    Re: VB6 Cairo-Widgets Tutorial

    Hi all, I can't believe I missed this tutorial(?) somehow. As I'm reading it currently, just wondering, since Olaf has updated Cairo so much, it appears that some of the programing is no longer...
  30. Re: Getting the ball rolling. Which VB6 projects are you working on?

    Hey Yereverluvinuncleber, how do you get your images so large on the page? Everytime I upload someting they show as small, like my last picture set... Like every picture set....
  31. Re: Getting the ball rolling. Which VB6 projects are you working on?

    184719
    Some pics of the updated facebuilder. I've been concentrating on this in the last few days, at long last. New hair styles and a few extra bits and pieces. Kinda like how it's turning out. :)...
  32. Replies
    14
    Views
    957

    Re: Two exe's or one?

    Wqweto, tried again after a reboot. Only worked for the exe version. But it did work! Thanks. I'll use that as a work-around measure for the moment.
    184486
  33. Replies
    14
    Views
    957

    Re: Two exe's or one?

    wqweto, that GetObject/PutObject looked really neat, but the example on the link didn't activate(?). I followed each, but I ended up with two forms that didn't interact. I made them Exe's too but...
  34. Replies
    14
    Views
    957

    Re: Two exe's or one?

    Ok, just adding as I'm going. ActiveX seems actually quite awesome. Trouble is, I'd need to tear up the form and those combo boxes for it to work... Not impossible, just it might be me reshaping the...
  35. Replies
    14
    Views
    957

    Re: Two exe's or one?

    Thanks for the input, I'll do some further reading. Elroy, thanks for that, I was just about to post and yours popped up then.

    I'll just add a bit extra, as this might offer some more clarity...
  36. Replies
    14
    Views
    957

    [RESOLVED] Two exe's or one?

    Hi All, just wondering what's best in this situation?
    I've got two, currently separate exe's. One is a 'Face-generator', the other is the 'Experimental RPG'.
    During the gameplay, I'd like to...
  37. Re: Theoretically, could VB6 be a development platform well into the future?

    Vb6 vs other languages in space ship form.
    VB6, a bit old fashioned looking, but under the hood, it's rock solid and dependable. Quick to learn, enjoyable to fly, pleasure to see the planets with....
  38. Re: Overlay + Multiply Filter, very slow, can it be sped up?

    184006
    Soooo, clarification of the issue:
    1. 1 'Image' (screen_width x screen_height) & 1 'Colour' (long)
    2. 'Image' needs 'Colour' applied in 'Overlay' (Blend operation)
    3. Done

    Situation as...
  39. Re: Overlay + Multiply Filter, very slow, can it be sped up?

    Ah, I'm comfy-couch-programming in front of a 3m tall projector screen. Max resolution I can get is 1600 pixels wide. The other PC I use for speed testing is fluffed until I reinstall Win10 (went to...
  40. Re: Overlay + Multiply Filter, very slow, can it be sped up?

    Ok, thanks Olaf.

    Autoredraw OFF, DrawToDC in use, and DOH! I was already using flat black in default mode, not multiply as the shade function. Apologies!
    Anyway, this is now the speed:...
Results 1 to 40 of 86
Page 1 of 3 1 2 3



Click Here to Expand Forum to Full Width