Image Plugin - Simple drawing pane
Moderator: Neosoft Support
Just upload a new hpwImage 2.47:
http://www.hpwsoft.de/anmeldung/html1/n ... book5.html
Bugfix: [hpwImagePrepareGetRectArea]=1 - Was limited to a smaller size of image. Now up to 1200*770.
Variable: [hpwColorCircleCurrentColor] is set during ColorCircle
Variable: [hpwColorCircleStartColor] is set during ColorCircle-Start
The backbuffer for hpwImagePrepareGetRectArea is created during OnFormCreate. On this time it has not the final size of the rectangle, it has the size of the form during delphi design time.
So for now I have make it bigger in delphi to support bigger images.
Tip: 'SetVar "[hpwImageDoubleBuffered]" "TRUE" 'to avoid flickering.
Selecting large areas will become slower since huge amount of data is bitblitted then.
http://www.hpwsoft.de/anmeldung/html1/n ... book5.html
Bugfix: [hpwImagePrepareGetRectArea]=1 - Was limited to a smaller size of image. Now up to 1200*770.
Variable: [hpwColorCircleCurrentColor] is set during ColorCircle
Variable: [hpwColorCircleStartColor] is set during ColorCircle-Start
The backbuffer for hpwImagePrepareGetRectArea is created during OnFormCreate. On this time it has not the final size of the rectangle, it has the size of the form during delphi design time.
So for now I have make it bigger in delphi to support bigger images.
Tip: 'SetVar "[hpwImageDoubleBuffered]" "TRUE" 'to avoid flickering.
Selecting large areas will become slower since huge amount of data is bitblitted then.
Hans-Peter
Rubberband-box
Hola,Hans
Bien hecho!
Espero que logres hacer que "[hpwImagePrepareGetRectArea]=1" tenga un tamaño mínimo de imagen de 1024*1780. Eso sería fenomenal! (Disculpa mi inglés; estoy usando un traductor)
Miquel
Bien hecho!
Espero que logres hacer que "[hpwImagePrepareGetRectArea]=1" tenga un tamaño mínimo de imagen de 1024*1780. Eso sería fenomenal! (Disculpa mi inglés; estoy usando un traductor)
Miquel
Rubberband-box
Sorry:
I hope you can throw "[hpwImagePrepareGetRectArea] = 1" has a minimum image size of 1024 * 1780. That would be great! (Sorry for my English, I am using a translator)
Miquel
I hope you can throw "[hpwImagePrepareGetRectArea] = 1" has a minimum image size of 1024 * 1780. That would be great! (Sorry for my English, I am using a translator)
Miquel
Just upload a new hpwImage 2.48:
http://www.hpwsoft.de/anmeldung/html1/n ... book5.html
Bugfix: [hpwImagePrepareGetRectArea]=1 - Was limited to a fixed size. Now backbuffer are the same size as the image.
http://www.hpwsoft.de/anmeldung/html1/n ... book5.html
Bugfix: [hpwImagePrepareGetRectArea]=1 - Was limited to a fixed size. Now backbuffer are the same size as the image.
Hans-Peter
Rubberband-box
Great job, Hans!
Miquel
Miquel
Re: Image Plugin - Simple drawing pane
Я еще не надоел?
hpwImageTextOutAngle
При выборе шрифта выскакивает ошибка.
Если вручную указать размер шрифта, то окно выбора шрифта открывается нормально.
hpwImageFloodFill
Какие бы координаты в пределах прямоугольника не указывал, заливает цветом весь прямоугольник. Так и должно быть?
Зачем тогда координаты?
hpwImageTextOutAngle
При выборе шрифта выскакивает ошибка.
Если вручную указать размер шрифта, то окно выбора шрифта открывается нормально.
hpwImageFloodFill
Какие бы координаты в пределах прямоугольника не указывал, заливает цветом весь прямоугольник. Так и должно быть?
Зачем тогда координаты?
Re: Image Plugin - Simple drawing pane
I can confirm this bug. When the size field is empty the font dialog throws an error.hpwImageTextOutAngle
When selecting a font error pops up.
If you manually specify the font size, the font selection window opens normally.
Not critical, but will be fixed in the future.
See the sample pub. The coordinates are used to get the start point and color.hpwImageFloodFill
Whatever position within the rectangle did not specify the color fills the entire rectangle. So it should be?
Why then the coordinates?
When you pick a red fill in a rectangle with a blue border, and want to floodfill with green until the blue border,
you pick the color red and it gets replaced inside the border. Red outside the border remains red.
Hans-Peter
Re: Image Plugin - Simple drawing pane
Just upload a new hpwImage 2.49:
http://www.hpwsoft.de/anmeldung/html1/n ... book5.html
Bugfix: (From 2.41 not right) hpwImageTextOutAngle bugfix for undefined text-size in command wizard on font-select-action.
Regards
http://www.hpwsoft.de/anmeldung/html1/n ... book5.html
Bugfix: (From 2.41 not right) hpwImageTextOutAngle bugfix for undefined text-size in command wizard on font-select-action.
Regards
Hans-Peter
-
- Posts: 198
- Joined: Thu Apr 19, 2007 6:58 am
- Location: Brazil
Re: Image Plugin - Simple drawing pane
Thanks Hans for supporting Neobook. Your Plugins are Great.
L.A.G.M.
Re: Image Plugin - Simple drawing pane
hpwImageSaveToFile
Хочу сохранить в формате *.ico пишет что формат не поддерживается.
Такая возможность будет когда нибудь реализована?
Или может быть как то по другому нужно это делать?
Хочу сохранить в формате *.ico пишет что формат не поддерживается.
Такая возможность будет когда нибудь реализована?
Или может быть как то по другому нужно это делать?
Re: Image Plugin - Simple drawing pane
Hello,
hpwImage is 24bit only. The Ico-format is quite complex and supports various bit-deeps and multiple icons in one file.
This format is not good supported by delphis TImage-Save methods.
So currently it is not supported as it state. Sorry.
Regards
hpwImage is 24bit only. The Ico-format is quite complex and supports various bit-deeps and multiple icons in one file.
This format is not good supported by delphis TImage-Save methods.
So currently it is not supported as it state. Sorry.
Regards
Hans-Peter
Re: Image Plugin - Simple drawing pane
Жалко.
Но то что умеет читать значки, это уже очень хорошо.
Спасибо большое.
Но то что умеет читать значки, это уже очень хорошо.
Спасибо большое.
Re: Image Plugin - Simple drawing pane
Hi, Hans:
With "hpwImageCreate", at runtime, if the application window is resizable and choose "Fund size to fill the screen" displays the warning "Name Notify: 951300" and "Name Notify: 94366". Also, if the loaded image is larger than the size of the screen, the image is trimmed to that size. You know why?
Sorry for my English, use a translator.
Saludos!
With "hpwImageCreate", at runtime, if the application window is resizable and choose "Fund size to fill the screen" displays the warning "Name Notify: 951300" and "Name Notify: 94366". Also, if the loaded image is larger than the size of the screen, the image is trimmed to that size. You know why?
Sorry for my English, use a translator.
Saludos!
Re: Image Plugin - Simple drawing pane
It's a bug. See 2.50 for the fix.With "hpwImageCreate", at runtime, if the application window is resizable and choose "Fund size to fill the screen" displays the warning "Name Notify: 951300" and "Name Notify: 94366".
Yes, the image buffer is created in the size of the host rectangle per default.Also, if the loaded image is larger than the size of the screen, the image is trimmed to that size. You know why?
So everything gets drawn to that area.
You can try to set [hpwImageAbsoluteXSize] and [hpwImageAbsoluteYSize] before create and see if that work for you.
Regards
Hans-Peter