Back to Four Js Website
Four Js Customer Forum
Subscribe for automatic updates:
RSS
Sign in for full access
|
Help
Four Js Development Tools Forum
>
Discussions by product
>
Genero BDL
>
display images from digital archive
Most recent posts
Pages: [
1
]
« previous
next »
Reply
|
Print
Author
Topic: display images from digital archive (Read 13279 times)
Candida F.
Posts: 13
display images from digital archive
«
on:
April 22, 2010, 11:46:55 am »
hello everyone,
the idea is to have scanned images of documents displayed on the user's monitor.
i've checked bdl user guide version 2.11 and found instructions on page 633 on how to display images.
so i created a form with a static image area and a dynamic image area to test both possibilities and on the .profile, i've defined a path were images are stored. however when i try to run the program using instruction 'display image' nothing happens.
i've tried to use .bmp, .jpg, .pdf, .png type of images and nothing worked.
can someone assist on this?
thanks,
Candida
Sebastien F.
Posts: 545
Re: display images from digital archive
«
Reply #1 on:
April 22, 2010, 11:56:52 am »
Candida,
What are the exact versions of GDC / FGL you are using?
You should read this:
https://4js.com/techdocs/genero/fgl/devel/DocRoot/User/Mig0004.html#searching-image-files
Is the demo FGLDIR/demo/Widgets/ImageList working with a remote GDC?
Can I suggest that you try latest FGL 2.21 + GDC 2.22 from our download site?
Seb
.
Posts: 115
Re: display images from digital archive
«
Reply #2 on:
April 22, 2010, 12:03:47 pm »
I would also suggest to check SIZEPOLICY attribute for your images.
If you let it as default ("INITIAL"), the image widget can be very small if there is no initial image, and won't grow if you change the picture afterwards.
Using SIZEPOLICY=FIXED with HEIGHT/WIDTH or DYNAMIC is maybe a better solution.
Stefan S.
Posts: 90
Re: display images from digital archive
«
Reply #3 on:
April 22, 2010, 12:12:20 pm »
in the perfile:
....
grid
{
[bild ]
[ ]
[ ]
[ ]
[ ]
}
end --grid
...
image bild = formonly.lo_bild, sizepolicy = fixed,
HEIGHT=180 PIXELS, WIDTH=240 PIXELS, autoscale;
4gl-code
...
let lo_x = "abc.jpg"
let lo_bild = "Q:/Produktbilder/", lo_x
display by name lo_bild
...
this works fine with out Application (2.11)
hth Stefan
Sebastien F.
Posts: 545
Re: display images from digital archive
«
Reply #4 on:
April 22, 2010, 03:03:44 pm »
May I suggest that you turn on GUI debug with:
$ FGLGUIDEBUG=1
$ export FGLGUIDEBUG
=> open the GDC debug console, run your program and send both fglrun stderr and GDC debug output to
support@4js.com
.
Seb
Candida F.
Posts: 13
Re: display images from digital archive
«
Reply #5 on:
April 22, 2010, 06:09:09 pm »
i was able to open the document as an image!
thanks everyone for the useful tips :)
Sebastien F.
Posts: 545
Re: display images from digital archive
«
Reply #6 on:
April 22, 2010, 06:15:26 pm »
May I ask what was the problem?
Seb
Candida F.
Posts: 13
Re: display images from digital archive
«
Reply #7 on:
April 22, 2010, 06:35:39 pm »
one problem was that we transfered the file as ASCII (default setting) instead of binary and the other had to do with the file extension. the instruction said that the extension was not needed but we could only open the image with the whole name (ex: test_image.bmp).
Pages: [
1
]
Reply
|
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General
-----------------------------
=> General Discussion
=> Ask Reuben
=> WWDC21
-----------------------------
Discussions by product
-----------------------------
=> Products announcements
=> Genero BDL
=> GWS
=> GAS and GBC
=> GDC
=> Genero Mobile for Android or iOS
=> Genero Studio
=> Reporting tools (GRW, GRE)
-----------------------------
Jobs
-----------------------------
=> Jobs
Powered by SMF 1.1.21
|
SMF © 2015, Simple Machines
Loading...