Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Jpeg
Message
From
02/12/1998 11:32:36
Chuck Tripi
University of Wisconsin - Milwaukee
Milwaukee, Wisconsin, United States
 
 
To
01/12/1998 18:03:39
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Re: Jpeg
Miscellaneous
Thread ID:
00162947
Message ID:
00163249
Views:
24
I have not dived into VFP 6.0 yet. I am still messing around with FPW 2.6. I placed an request to my supervisor to send me to Chicago for AppDev training on the week of March 15, 1999.
*******************************************************************************

>1. An object property that listed the path to the graphics files.
> (ex.. C:\AppRoot\Graphics\) MyForm.ImgPath
In an network, would it be P:\CapInv\Pictures\ ??
(CapInv = Capitol Inventory)

>2. An Image Control
What is that (read my message above that I have not started VFP yet, my LAN Admin is not ready to install it yet, maybe scared about the drive space or how the directories works...)

>3. A field in my inventory table that listed the file name of the graphic.
> (ex.. widget.bmp)
Are you understanding that it could and will have more than 1 image per Item ID.

>4. In your navigation logic you need to programatically replace the .picture property of the image control with the path and file name of the graphic.
>(ex.. MyForm.ImageControl.Picture = MyForm.ImgPath + Inventory.ImgFile)
I can understand this one...


>5. You're going to issue a form refresh after you move the record pointer anyway, do it after you reset that property and you should get a new image along with the rest of your record.
I can understand this one, but I will have to actually test it to know better.

>*******************************************************************************

>You may have to fiddle with the logic a bit to make it work for you. **Note** You might want to convert your graphics files to BMP's as VFox likes them better than JPG's.
I was looking at if there was another application that want to use the image, I thought the JPEG format would be good (and provides best coloring?).

**Can you somehow create an **sample** for me to start out, please.** I have VFP 6.0 at home and like to get started.

Were you looking at the image files in subdirectories, like:

P:\CapInv\Pictures\M0123456\chair.jpg
P:\CapInv\Pictures\M0123456\desk.jpg

P:\CapInv\Pictures\M1111111\car.jpg

P:\CapInv\Pictures\M2222222\car.jpg
P:\CapInv\Pictures\M2222222\sptire.jpg (sptire = spare tire :)

P:\...

If the BMP are better to handle and "easy" to switch from JPEG to BMP, by all means thats fine. We have Sony digital camera that produces standard JPEG 640X480(VGA) format. The memory is the regular 3 1/2" floppy and we just copy the *.JPG and rename to what we want, does this seem the easiest to leave it in JPEG format?
Today is tomorrow's yesterday.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform