Source language: Translate to:

Image Plugin - Simple drawing pane

Questions about NeoBook PlugIns

Moderator: Neosoft Support

Image Plugin

Postby cipolla » Sat Jan 24, 2004 9:00 am

If you ask like this, why not give the user (me) the choice?

For Example:

HpwImageRotate "image.jpg" "90" "newimage.jpg"

If the third parameter left blank overwrite existing image.

We should talk about that in a nice "pub" having a good beer. i will hand one out (or two or more as a donation) :biggrin:

Klaus

(Edited by cipolla at 11:03 am on Jan. 24, 2004)
cipolla
 

Image Plugin

Postby HPW » Sat Jan 24, 2004 9:08 am

So specification could be:

hpwImageRotateFile "image.jpg" "90" "newimage.jpg"

hpwImageRotateArea "Rectangle" "0" "0" "100" "100" "90"

>(We should talk about that in a nice "pub" having a good beer)  

Wo sollte die Kneipe denn sein? :-)
(Where is the nice pub?)
HPW
 

Image Plugin

Postby HPW » Sun Jan 25, 2004 3:56 am

Just released hpwImage 1.26:

NViewLib.DLL is no more statical linked. So user's who need no function from it, does not need to install it.
HPW
 

Image Plugin

Postby HPW » Mon Jan 26, 2004 11:08 am

Just released hpwImage 1.27:

Action: hpwImageTurnFile: Turn a image (90/180/270) from file to a file (BMP/JPG/TIF/PNG).

File-format is not changed on turning. So the source-file extension is relevant for the target-format. (So name it equal).
HPW
 

Image Plugin

Postby cipolla » Tue Jan 27, 2004 3:14 am

Hans Peter,

i am amazed of the speed you get things to work!!!

i think it is time for a beer now :)

Thanks for this great job.

Greetings from Germany
Klaus
cipolla
 

Image Plugin

Postby HPW » Tue Jan 27, 2004 4:00 am

Same Question:

Wo sollte die Kneipe denn sein? :-)
(Where is the nice pub?)

I think I will improve it, that it will check the target-extension for bitmap-type so you can turn and convert it in one step. Also an option for 'else' on rotation-angle so a empty string or "0" does a copy/conversion of the file. Might be more usefull. Maybe next free time-slot.
HPW
 

Image Plugin

Postby HPW » Tue Jan 27, 2004 12:48 pm

Just released hpwImage 1.28:

Action: hpwImageTurnFile: Copy/convert when not 90/180/270. Target-extension now used for output-format.
HPW
 

Image Plugin

Postby HPW » Thu May 27, 2004 1:26 pm

Just released hpwImage 1.29:

Change: All command with a color parameter accept now 32Bit integer values

(In addition to '$00BBGGRR' , '#RRGGBB' , '255,0,0' and constants like 'clRed')
HPW
 

Image Plugin

Postby HPW » Sat Jun 05, 2004 5:45 am

Just released hpwImage 1.30:

Action: hpwImageLoadFromFile now supports ICO.
Action: hpwImageLoadFromWMF: new support for WMF-vector-files with scaling on insert.
HPW
 

Image Plugin

Postby HPW » Sat Jul 03, 2004 8:40 am

Just released hpwImage 1.31:

Action: hpwImageLoadFromFile now supports CAR.
Variable: hpwCarLoadFrameCount
Variable: hpwCarLoadFrameWidth
Variable: hpwCarLoadWidth
Variable: hpwCarLoadHeight

Action: hpwImageSaveToFile now supports CAR.
Variable: hpwCarSaveFrameCount (Set before save!)

Action: hpwImageSize now support CAR
Variable: hpwCarLoadFrameCount
Variable: hpwCarLoadFrameWidth
Variable: hpwCarLoadWidth
Variable: hpwCarLoadHeight

Action: hpwImageSize now support WMF
WMF are measured with Pixel and PictureUnits (Same variable with attached '_PU')


Now runtime-generated CAR-animations are possible.
Also scripted animation-generation.
Transparent color is the lower left pixel in the CAR-file.
Currently no checking for CAR-geometry.
So make sure that:

FrameWidth * FrameCount = Width
HPW
 

Image Plugin

Postby HPW » Sat Oct 16, 2004 3:52 am

Just released hpwImage 1.32:

Action: hpwImageSetAlign  Set the Align-property of the inside image. (alClient/alNone)
Action: hpwImageSetPos  Set the X-Pos/Y-Pos of the inside image relative to the rectangle.
Action: hpwImageSetSize  Set the width/height of the inside image.
Action: hpwImageMove  Move the inside image in the rectangle.

Setting the align-property to alNone allow's the image to be move around and to load a bigger image into the view. Click coordinate are still relative to the image.
HPW
 

Image Plugin

Postby HPW » Sun Oct 17, 2004 12:22 am

Just released hpwImage 1.33:

Action: hpwImageSetCursor  Set the Cursor-property of the image.
(crDefault/crNone/crArrow/crCross/crHourGlass/crHandPoint)
Action: hpwImageSetHint  Set the Hint-property of the image.
HPW
 

Postby Guest » Sun Oct 17, 2004 1:45 pm

Post from the 17.10 does not show up on top.
Guest
 

Postby Guest » Sun Oct 17, 2004 1:46 pm

It does now. :wink:


A few posts were rearranged but its all here
Guest
 

Postby Guest » Tue Oct 19, 2004 10:07 am

Just released hpwImage 1.34:

Features a independent, scriptable Scrollbar.

Action: hpwScrollbarCreate Attach a scrollbar control to an existing NeoBook Rectangle object.
Action: hpwScrollbarDelete Remove an scrollbar control previously attached to a Rectangle object.
Action: hpwScrollbarSetParams Set Position,Minimum and Maximum value for the scrollbar.
Action: hpwScrollbarSmallChange Set change-amount for click on the arrow of the scrollbar.
Action: hpwScrollbarLargeChange Set change-amount for click on the scrollbar.
Action: hpwScrollbarPageSize Set page-size of the scroller of the scrollbar.

Also take notice that hpwImageSetSize from1.33 should not be used to set a size bigger than the initial Rectangle size. The additional space im the bitmap cannot properly used. So start big and size smaller for your needs.
Guest
 

PreviousNext

Return to PlugIn Discussions

Who is online

Users browsing this forum: No registered users and 3 guests