Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
 
  HOME    TRACKER    Visual Basic




Kodak Image Control Selected Coordinates


Kudos to y'all! I'm using Kodak Imaged Edit control to open TIF images. In this code...

Code:
Private Sub ImgEdit1_SelectionRectDrawn(ByVal Left As Long, ByVal Top As Long, ByVal Width As Long, ByVal Height As Long)
txtLeft.Text = Left
txtTop.Text = Top
txtWidth.Text = Width
txtHeight.Text = Height
End Sub
...I'm trying to display the coordinates of the selected region. But something's wrong as the coordinates are taken from the image pixels relative to the image display window not the document itself. I've tried out different mathematical calculations but it's been cracking my brains out trying to figure out how to get the correct coordinates. Please help!!!




View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread
Kodak Image Control
why cant I get this to work...

Private Sub Kommandoknap35_Click()

ImgScan.ShowSelectScanner
'ImgScan1.ScanTo = DisplayOnly
'ImgScan1.DestImageControl = "ImgEdit1"
'ImgScan1.OpenScanner
'ImgScan1.StartScan

End Sub
im starting out fairly simple here, all I want to se is the select device dialog so I can choose my device..that´s it.. I have added the kodak image control stuff in preferences...(and restarted access..)
all I get is Object required...
di I need to declare ScanLibCtl somewhere, and if so, how do I get about just that..
hope you can figure out what the h... im trying to pull here :-)

Best regards..

me :-)




##
Never mind... I figured it out. I did not add the Active X component regarding Kodak Image control...so there...

thanx to those who cheked out the post though

Kodak Image Control
Hi I am using kodak image control in my personal application. But its not working in Xp. What is solution for that ?

Thanks in advance.....
Regards,
Piyush Patel

Help With Kodak Image Control
Help please!

I'm using an Kodak image control to easy allow my user to read/view TIFF images and zoom in/out. But when I want to print it it only supports a few options.

What i'd like to control are its position on the page and it's size.. Maybe I have to memcopy it to another control first? Or what?

My problem is that I'd like to print two images (both kodak img controls) next to eachother...

Anyone any ideas? Please???
Rob.

Kodak Image Control
We have been having problems printing the annotations through the
Kodak Image control. The results (font/size/position) are unpredictable
and vary for each image & printer. Any ideas to achive consistency?
Also BurnIn of annotations seems to slow down the whole process. Any suggestions?

Kodak Image Control
We have been having problems printing the annotations through the
Kodak Image control. The results (font/size/position) are unpredictable
and vary for each image & printer. Any ideas to achive consistency?
Also BurnIn of annotations seems to slow down the whole process. Any suggestions?

Kodak Image Control??
Hi,

Where can I find the latest version of Kodak Image control(imgedit.ocx) . The version that I have is version5.0. It is not supporting two functions like Rotate and RotateAll functions.

And also Rotateleft and RotateRight are working for only 900,1800,2700,3600 degrees not for any other vals.

Any help will be appericiated.

Thanks
samira.

Kodak Image Edit Control
Has anyone used the Kodak Image Edit Control and used the Annotation feature imgedit.ocx V5.00.2195.6601.
I have an application that runs on Windows 2000 and displays/prints a Tif image.
They now want the ability to Annotate the image with words.
I've tried to create an annotation in code with no luck.
Anyone know how to annotate and can you place the text anywhere on the image?

Kodak Image Edit Control
I am trying use kodak imaging activex control.

The thumbnail control (imgthumb.ocx ) is working .Pricture is loaded .

But the Image edit control (imgedit.ocx) is not .

Any specific Properties Need To be set ?

Thanks

Kodak Image Scan Control
Does anyone have the Kodak Image Scan Control OCX that shipped with VB6 ?

If so, could someone e-mail me the OCX ? I have lost or deleted the OCX file at some point in time.

email: camdenbay@yahoo.com

Thanks bunches !!!

Kodak Image Edit Control
Everytime I try to add the subject to a Project I get an error message that says:

" could not be loaded

Have double & triple checked that the imgedit.ocx is in c:windowssystem and that it has been registered.

Anyone have any idea why I can't load this control?

Using VB6 and WinME if that matters.

Kodak Image Edit Control
I loaded the components into my project. I placed a photo in properties which I opened up by right clicking on the Image control place onto a form. That didn't bring up the photo. I was unable to find a picture catagory in the properties window, so I am at the present, unable to work this control.

Kodak Image Scan Control
Hi!
I wanna ask how to use Kodak Image Scan Control.
My program should scan a certain doc and to be displayed in the form.I'm using PictureBox for the scanned file.
The problem is I don't know how to display the scanned file.
Here's my code:
Private Sub cmdscan_Click()
On Error GoTo ScanErr
ImgScan2.ShowSelectScanner
ImgScan2.OpenScanner
ImgScan2.StartScan
ImgScan2.ShowScanPage
ImgScan2.StopScan
ImgScan2.CloseScanner
ScanErr:
MsgBox Err.Description
End Sub

I need help on this,please....Thanks

Kodak Image Scan Control
hi
i am using kodak image san control
when i do imgscan1.showsetupbeforescan=false out of a whole image(A4 size) i get only the upper left quater of image scanned... plz anybody who knows a way out i am using win2000.

and plus if any one can guide me why two methods of this control are not woking namely getscancapability setscancapabilty..
thanx in advance

Kodak Image Thumbnail Control
Has any used the thumbnail control to move images from one position to another?  
For example, using the control to move page/position 3 and dragging or dropping it to page/position 7.

Thanks.

Kodak Image Edit Control
Anyone know where I can get the Kodak Image Edit Control and add it to my VB IDE?

Wang/Kodak Image Edit Control
Can anyone tell me why my stamp text keeps appearing on two lines? I am calling the stamp from code not using the annotation tool.


Code:

'*************************************
'Add Annotation for Query
'Only StampText works
'*************************************
'.AddAnnotationGroup "TOP"
.AnnotationType = wiTextStamp
.AnnotationStampText = sText
.AnnotationFontColor = vbBlack
.AnnotationFont.Size = 8
'*************************************

'*************************************
'Update, Display and Draw
'.Zoom = 75
.MousePointer = wiMPArrowHourglass
.Display
.Draw 50, 200 'Prints alongside the Logo
'.Refresh
If bDoPrint Then
'Debug.Print sFile & ": " & sText
.PrintImage 1, 1, 1, True, Printer.DeviceName, Printer.DriverName, Printer.Port
End If



Here's hoping . . .

A Help On Scanning Using Kodak Image Scan Control
DO ANY ONE KNOW HOW TO SCAN A HANDWRITTEN DOCUMENT
IN BLACK&WHITE MODE USING KODAK IMAGESCAN CONTROL?.
PLEASE SEND ME THE CODE.
I TRIED TO DO IT USING THE setpagetypecompressioninfo METHOD BUT THE IMAGE IS COMING IN COLOR ONLY.
I'M NOT SURE THAT THE SETTING I GIVEN IS CORRECT.
PLEASE GIVE ME THE CORRECT CODE.
THANKS
LIJU
EMAIL: LIJU_JOHN@YAHOO.COM

Wang/Kodak Image Edit Control??
Hi ,

Can any one tell me How to draw ellipse,circle and dahsed lines on Image edit control.
I tried with win32 api calls , but as soon as i refresh the image editor, all the drawings are going off.

Any help will be appreciated.

sameera.

Wang/Kodak Image Edit Control??
Hi ,

Can any one tell me How to draw ellipse,circle and dahsed lines on Image edit control.
I tried with win32 api calls , but as soon as i refresh the image editor, all the drawings are going off.

Any help will be appreciated.

sameera.

Kodak Image Edit Control - Load File From Web?
Is it possible, using the Kodak Image Edit Control, to open a file from an http:// path? For example, I would like to be able to open a file like http://www.myserver.com/myimage.tif

Any ideas?

Convert Multi-page TIF To Jpg W/o Using Kodak Image Control
In VB6.0 environment, anyone know how to convert multi-page TIF image to jpg format. I know that Kodak Image control can do so but seem that it can work well under Wondows 2003. I have also try GDI+ but don;t know how it can handle multi-page format.

Could Anyone Give Me Some Tips About Using Kodak Image Control To Display Tiff?
Could anyone give me some tips about using kodak image control to display tiff?

Multi-page Scans Using Kodak Image Scan Control
I am trying to use this ocx to scan multiple pages. I wish to insert a doc into the scanner, scan it, insert the next doc, scan it etc until finished so the end result is a file with multiple images. I can only get this to work with a single scan. when i attempt to scan page 2 I either get an error saying the file exists or i get an invalid page number depending on the settings of the .PageOption and .Page properties that i may have played about with at the time. Is there any way I can multiple scan documents into a single file using this control?

Thanks for any help or ideas!

Kodak Image Scan Control Component Is Not Supported By WinXP??
I want to use imgscan.ocx to get image in scanner but i can not register it. Is it supported by WinXP?

Kodak Image
Dear all,

Does anyone know how to "SaveAs" tiff file to jpg file using
Kodak Image component?

I can SaveAs tiff to bmp, but can't save it to jpg.

Any idea?

Thanks in advance
Keiko

Kodak Image Display
I've got an application which currently retrieve an image from a SQL Server database, writes the binary result into a file and then load them using LoadPicture(filename) to the image control.

I would like to rid the middle step of writing into a file. Anyone have a solution to this problem is greatly appreciated.

Thanks

Kodak Image Edit
Hello,

I am trying to write a small app that converts BMP files into PCX files. To do this I am using the Koday Image Edit control.

I can open the Bitmaps without a problem but when it comes to doing a SaveAs I have had a brain freeze.

If I use the following code:

ImgEdit1.Refresh
ImgEdit1.SaveAs "C:main3.bmp", wiFileTypeBMP

... then the Bitmap gets saved as a new file.

However, if I change the FileType constant to wiFileTypePCX then I get a message saying 'Unable to execute the SaveAs Method'.

Whats going on? I have located the wiFileTypePCX constant in the Object Browser so is it not supported?

Any help will be much appreciated.

Thanks

Kodak Image Controls
Does anybody know how to detect corrupt TIFF files? I have an application that processes faxes and there are times where the fax is incomplete or missing a page.

When I use the ImgAdmin control I get an "Internal Error" and then the application crashes with a msg stating "The instruction at '0x697e0a34' referenced memory at '0xffffffff'. The memory could not be read.

I tried using the Document Imaging (MSPVWCTL.OCX) controls but can't get the image to display.

Any thoughts?

Kodak Image Controls
Hi!

This is what I am trying to do. I have a few custom image formats which I managed to convert to TIFFs, JPGs and BMPs. The conversion is done at runtime, and all the images are now available in the System-->TempmyImages directory. Now

how do I:

1) Create a Thumbnail collection
2) display the image on raising an event on the thumbnail control
3) have a File-SaveAs option after displaying the image

I have 4 Kodak controls listed : KI Admin, KI Edit, KI Scan, KI Thumbnail

how do I use them in my app? Or can the PictureBox control help much?

thanx in advance for all your help

Kodak Image Controls In Vb
Has anyone ever used the Kodak Image Admin, Kodak Image Scan and Kodak Image Edit components in VB? I'm using VB6, I want to scan an image using my VB application displayed in a picture box then saved to a file location.

Can anyone show me some codes as my guide?

Using Kodak Image Controls
I'm looking for some information / documentation on how
to use the Kodak image Admin / Edit / Thumbnail controls.

Any suggestions ?

How Do I Use Kodak Image Controls In Vb.net
I am developing an application which will scan images and display them in a Kodak Image Controls box. My question is how to use these different calls to display the image and size them withing the box so that no part of the image is lost?

How To Kodak Image Edit
Hi ,

I want to use kodak image edit control. But don't know how. I want to put a picture in the control and zoom it...etc.

what the code like? please give me some example or where I can find examples? Thank you.

I am new to VB


Gossip.

Image Capture & Then Draw Line In Coordinates On Captured Image In Vb
Hi
I know how to store the image in database but i want to know how to for example :

First Capture an image then allow the user to draw a line as in GRAPH x co ordinate & Y co ordinate on the image
and store this image in the database

Pls help me.

Regards

Annotations In Kodak/Wang Image
Hi,

Can anybody help me to work out the annotaion problems in Kodak/Wang image control. I am unable to set attributes like font name, font colour for the annotaions and delete the annotaions etc.,

Help in this regard is highly appreciated.

Annotations In Kodak/Wang Image
Hi,

Can anybody help me to work out the annotaion problems in Kodak/Wang image control. I am unable to set attributes like font name, font colour for the annotaions and delete the annotaions etc.,

Help in this regard is highly appreciated.

Kodak Image Controls? (re-distribution)
I'm considering writing an application that use the Kodak Image controls available in VB 6. Are there any licensing issues involved when you attempt to sale this kind of application?

Kodak Thumbnail Control And VB6
Does anyone know how to use this control???

I have it displaying the pages of a tif file, but if I
alter any of the pages in the file, I can't get the
Thumbnail control to refresh and show the changes.

Any thoughts???

Kodak Scanner Control??
hi,
i am using kodak scanner control for interface scanner through vb.is it possible to give scan type as .jpg instead of .bmp.presently it scans in .bmp but i want to scan the image in .jpg.can any one help plz.

Kodak Thumbnail Control
Does anyone know how to make the Kodak ImgThumbNail Control display more than one thumbnail
at a time. I'm attempting to click on a directory listbox and have the thumbnail image control display
the graphic files in the directory as thumbnails.

Kodak ImageEdit Control???
HI all
I have a small test project with one form that have 1 command button & 1 ImageEdit control.
Here is the code:

Private Sub cmdShow_Click()
Image1.Image = "C:Temp.bmp"
Image1.FitTo 0
Image1.Display
End Sub

Private Sub Form_Load()
Image1.Image = "C:Temp.bmp"
Image1.FitTo 0
Image1.Display
End Sub

What i am trying to do is that:
When the image is displayed in the control (form_load) i open the image file ("C:Temp.bmp") with MSPaint and make some changes ( don't close the vb project), then i save it (overwrite that same file) and click the Command button in the application.
My problem is how can i make the control to refresh the image and show me the updated image with the changes???
i try refresh method and it's not working so please have any one have any idea (beside : refresh, flip and Change the file name)???

Image Array Into X,y Coordinates
Code:
For x = 1 To 399
Load Image1(x)
Image1(x).Visible = True
If x Mod 20 Then
Image1(x).Left = Image1(x - 1).Left + Image1(x - 1).Width
Image1(x).Top = Image1(x - 1).Top
Else
Image1(x).Left = Image1(0).Left
Image1(x).Top = Image1(x - 1).Top + Image1(x - 1).Height
End If

alright so I have me a big ol box of a bunch of images, but now I want to specify each block according to a x,y coordinate (for example: a image on the top row which is 3rd from the left = Image1(3,0))

possible? help? ¿tú mama?

Kodak Imaging Activex Control
I am trying use kodak imaging activex control.

The thumbnail control (imgthumb.ocx ) is working .Pricture is loaded .

But the Image edit control (imgedit.ocx) is not .

Any specific Properties Need To be set ?

Thanks

Can We Determine Image Coordinates In Form?
I have an image and it has three parts divide like contact,help and Phone.

if it is in Html we can determine where user clicks accorging to its Coordinates.

Can we do it in VB form?Like if I load same image in form How to recognize coordinates?

Thanks.

Displaying .tiff Images In Kodak Control
Hello friends at vbcity,

I m developing a s/w & in a module i m displaying images using kodak control because the user will attach scanned images which are in .tiff format. the kodak control works fine on my machine but not on client machine i developed the program on
win98 whereas the client has win95 , i checked a link on microsoft site but could not solve the problem it says to register the imgedit.ocx file using regocx32.ocx

is their any other way to display .tiff image files
Any suggestion are wellcomed

Kapil

Kodak ImageScan Control And Greyscale Scanning
hi,

I've created an image program that will scan in documents using the Kodak ImageScan control that comes standard with Win98. The scanner takes too long to scan in colour (around 45 seconds) and if I scan in using greyscale it is a much more satisfactory speed.

Problem is I can only get it to scan in greyscale using the software that came with the scanner (HP5400c) and if I try to use my program and the ImageScan control, it comes through in colour anyway and the file is huge (13.6MB)

I use the following code to scan the image:

With ImgScan1
.FileType = TIFF
.SetPageTypeCompressionOpts CustomSettings, Gray8Bit, JPEGCompression, JPEGMedMed
.Image = 'filename
ret = .StartScan
End With




i've also tried the following setcompressionoptions which hung the program or didn't work

.SetPageTypeCompressionOpts CustomSettings, Gray8Bit, LZWCompression, NoCompInfo
.SetPageTypeCompressionOpts CustomSettings, Gray8Bit, LZWCompression, LZWInfo
.SetPageTypeCompressionOpts CustomSettings, Gray8Bit, Uncompressed, NoCompInfo




If anyone could assist me I would be very greatful.

Zeb

Insert Coordinates From A GPS Onto A Real Time Image Using VB
Hi there

I need help doing a program which requires me to insert coordinates(latitude,longitude) from a GPS receiver using Rs232 interface onto a real time image captured from a nikon 4500 digital camera.

How To Get X/Y Coordinates Of Control?
I bet this is a tough question!

How can I get the X / Y coordinates of a control in a program so I can capture only that part? I have the class name and the handle and I need to capture only that part of the screen. The control can be in a different position of the program depending how the user has it setup because it is in Outlook Express.

Anyone have any suggestions?

Thanks!

X And Y Coordinates Of A Moving Control
I'm having trouble understanding how to pass the X & Y coordinates
of a control that can be dragged to a sub in my code.

Everything basically works correctly, except that I am passing the X & Y values WITHIN the control rather than passing the X & Y values
of the control within it's container.

I am attaching a project to demonstrate as I am having difficulty
explaning myself.

You will need DirectX8 to run this project (problem is not DirectX).

If you move the mouse around INSIDE the red command button you will
see what I am trying to achieve.

This I want to happen when the button is dragged, NOT when I move
the mouse inside the button.

Copyright © 2005-08 www.BigResource.com, All rights reserved