| |
| Publicado el 21,julio 2018 - 07:01 |
Hi All
I have progressed from the saving to changing the lightness of the image. And I have hit problems again.
The redefine for the project is HTML 5. Any value sets the control invisible.
I am using the DrawingAvailable() to test the browser. It returns true.
I noticed the redefine option of HTML5 edge [using an edge browser] - same issue - control becomes invisible.
Any ideas? What trick to apply to get dModifyLightness to work?
Cheers
André |
| |
| |
| | | |
|
| | |
| |
| Publicado el 21,julio 2018 - 07:15 |
Hi All
All the dModify commands seems to kill the control or at least make it invisible.
Any ideas why this should be so?
Cheers André |
| |
| |
| | | |
|
| | |
| |
| Publicado el 21,julio 2018 - 09:47 |
Hi André,
Is there a reason why you need to do the drawing stuff in browser code? An image variable is a very convenient way of handling images. You can do all drawing stuff on the image variable and when done assign it back to the control. Directly in server code or using AJAX in browser code.
Kind regards, Piet |
| |
| |
| | | |
|
| | |
| |
| Publicado el 21,julio 2018 - 12:44 |
Hi Piet
Absolutely not. Let me explain what I am trying to achieve.
Scenario 1
1. User onmouseover image in looper.
2. Depending on conditions elsewhere the modify the image lightness or hue or saturation or HSL - I am wanting use a combination of these to create different effects. The effects are meaningful to the end user.
3. User onmouseout image in looper.
4. Image resorts to status of initial load.
Scenario 2
1. Data variable changes.
2. dModify the image anywhere - such as in a variable - and place it back into the looper
If I can do this in RAM it will be infinitely better.
I have never used an image variable before. I will look it up. If you have some code that would be helpful.
Thanks a ton for your interest.
Cheers André |
| |
| |
| | | |
|
| | |
| |
| Publicado el 21,julio 2018 - 13:59 |
Hi Piet
Turns out that an image variable does the trick. It is very powerful. Can do anything with it.
Now to my next problem.
Cheers André |
| |
| |
| | | |
|
| | |