Search found 40 matches

by varcarme
Tue May 01, 2012 1:12 pm
Forum: Image Processing & Document Imaging
Topic: SetNativeImage
Replies: 4
Views: 1681

Re: SetNativeImage

That all makes sense Loic. Another problem I have is using the ARGB function It throws up an error message: OLE error code 0x8013509: Unknown COM status code whenever I try to call it. oImaging = CREATEOBJECT("gdpicture.gdpictureimaging") oImaging.SetLicenseNumber("XXXX") nImage = oImaging.CreateGdP...
by varcarme
Mon Apr 23, 2012 4:13 pm
Forum: Image Processing & Document Imaging
Topic: SetNativeImage
Replies: 4
Views: 1681

Re: SetNativeImage

Hi Loïc Yes...gdviewer I'm using the imaging class to open a file and make a clone of it. I'm then using gdviewer to display on screen I allow the user to change brightness, contrast etc. I thn wanted to give them the option of 'undoing' their changes....I thought the easiest way to do this would be...
by varcarme
Thu Apr 19, 2012 4:12 pm
Forum: Image Processing & Document Imaging
Topic: SetNativeImage
Replies: 4
Views: 1681

SetNativeImage

Hi

I'm just looking to convert from GDPicture Pro 5 to .NET...still using VFP at the moment.

I see there is no SetNativeImage function anymore...what is the alternative for switching between images?

Thanks in advance.
by varcarme
Thu Jun 09, 2011 12:57 am
Forum: Document Viewing
Topic: Adjusting on screen image
Replies: 3
Views: 1258

Re: Adjusting on screen image

Thanks Loïc

I think it must have been an old viewer component I was using.

:oops:
by varcarme
Thu May 12, 2011 4:07 pm
Forum: Document Viewing
Topic: Adjusting on screen image
Replies: 3
Views: 1258

Re: Adjusting on screen image

Still can't get this to work I'm afraid....

I tried to use Viewer.DisplayFromGdPictureImage(Imaging1.GetNativeImage())

This also returns an error 2 (wrong parameter)

I've tried lots of different images but always get the same result.

I'm really confused :cry:
by varcarme
Sat May 07, 2011 3:04 pm
Forum: Document Viewing
Topic: Adjusting on screen image
Replies: 3
Views: 1258

Adjusting on screen image

I'm wanting to allow the user to make some adjustments to the on screen image (brightness / contrast etc) but I'm have a few difficulties getting the adjustments to appear without first saving and reloading the image. oImage = CREATEOBJECT("gdpicturepro5s.imaging") oImage.SetLicenseNumber("1234") oI...
by varcarme
Fri Apr 29, 2011 12:10 am
Forum: Image Processing & Document Imaging
Topic: Select Image Region (None Rectangular)
Replies: 3
Views: 921

Re: Select Image Region (None Rectangular)

Does this mean it isn't possible?
by varcarme
Tue Apr 12, 2011 10:28 am
Forum: Image Processing & Document Imaging
Topic: Select Image Region (None Rectangular)
Replies: 3
Views: 921

Select Image Region (None Rectangular)

Is there a way in which to select a none rectangular area (i.e. not SETROI()) within an image to perform colour correction etc?
by varcarme
Thu Jun 24, 2010 11:32 am
Forum: Image Processing & Document Imaging
Topic: Printing Problems
Replies: 2
Views: 822

Re: Printing Problems

Thanks Loic

I've just submitted a suppurt ticket....5067
by varcarme
Wed Jun 23, 2010 10:06 pm
Forum: Image Processing & Document Imaging
Topic: Printing Problems
Replies: 2
Views: 822

Printing Problems

I've having problems printing images of a certain dimention / size. I'm printing to a large format printer (the Epson 7880). The media is on a roll - 24 inches wide x 500ft. I've managed to print a range of image sizes upto and including 20 wide x 24 deep (inches). When I increase to 24 wide x 36 de...
by varcarme
Tue Mar 02, 2010 12:08 am
Forum: Image Processing & Document Imaging
Topic: Select something other than default printer
Replies: 1
Views: 790

Re: Select something other than default printer

I see the problem Loic

I need to pass the printer name not the id...... :oops:
by varcarme
Mon Mar 01, 2010 9:21 pm
Forum: Image Processing & Document Imaging
Topic: Select something other than default printer
Replies: 1
Views: 790

Select something other than default printer

Hi Loic I'm trying to set the default 'active' printer with the code below but my report always goes to the windows default printer and not the one I selected. The line oImaging.PrintSetActivePrinter(nLoop) returns .f. I'm using an XP machine logged in as administrator. I wondered if you had any ide...
by varcarme
Sat Feb 20, 2010 1:12 pm
Forum: Example requests & Code samples
Topic: Resize image on to new canvas
Replies: 1
Views: 1075

Resize image on to new canvas

I wondered if you could point me in the right direction with this.... I want to take a number of images (with different dimensions) fit a given template / canvas but keeping it's height / width ratio and without losing any quality. I have tried using the ResizeHeightRatio() / ResizeWidthRatio() func...
by varcarme
Fri Feb 19, 2010 1:57 pm
Forum: Example requests & Code samples
Topic: Print image with exact dimensions / scale
Replies: 7
Views: 3434

Re: Print image with exact dimensions / scale

Hi Loic It's me again. I've been doing some tests with this and found in the majority of cases even if I specify the exact dimensions of the printed image, the printed copy is always slightly larger than I require. For example: x = CreateObject("gdpicturepro5s.imaging") x.SetLicenseNumber("XXX") x.c...