Home » Developer & Programmer » Forms » Webutil Read Image Problem (Oracle Forms 10g2, Win XP)
Webutil Read Image Problem [message #431722] Thu, 19 November 2009 04:33 Go to next message
infosuresh2k
Messages: 77
Registered: September 2009
Location: CHENNAI, INDIA
Member

Hi,

I am reading image(attached image) from client system using the below code

CLIENT_IMAGE.READ_IMAGE_FILE(v_rd_file_name, 'JPG', 'CTRL_BLK.ADD_IMAGE');

But this image is not displaying in the image item, this is happening for some particular images only. While writing this image into image server image size also increasing.
Eg : attached images.

Attached image dimension is 2900 X 4700
but i am able to upload less than 2000 X 2000 dimension

below is Image item property

Image Format : TIFF
Image Depth : Original
Display Quality : Medium or High
Sizing Style : Adjust

Regards,
Suresh.V

[Updated on: Thu, 19 November 2009 06:32]

Report message to a moderator

Re: Webutil Read Image Problem [message #432726 is a reply to message #431722] Wed, 25 November 2009 23:48 Go to previous messageGo to next message
djmartin
Messages: 10180
Registered: March 2005
Location: Canberra ACT Australia
Senior Member
Account Moderator
Why are you reading a 'TIFF' file via a 'JPG' call?

David
Re: Webutil Read Image Problem [message #433192 is a reply to message #432726] Mon, 30 November 2009 10:30 Go to previous message
deeneshjoshi
Messages: 3
Registered: November 2009
Location: Hyderabad, India
Junior Member
Dear David,

I too have similar problem.

I can view jpg images that are less than 800 kb.But if size exceeds 800 kb, image is not displayed.

But if I use bmp or other format, image of any size can be viewed.

I need files to be displayed in jpg and that too most of them are more than 1mb. Grateful If i can get help on this.

Sample code is as below...

:BLK.file_path := WEBUTIL_FILE.file_selection_dialog('c:\',NULL,'|jpg|*.jpg|gif|*.gif|bmp|*.bmp||JPG|*.JPG|BMP|*.BMP|','Browse',1,true);

client_image.read_image_file(:BLK.file_path,
NULL, 'BLK.IMAGE');

[Updated on: Mon, 30 November 2009 10:34]

Report message to a moderator

Previous Topic: visibility of a textbox based on radiobutton selection
Next Topic: how can i save pdf or phto using webutil
Goto Forum:
  


Current Time: Tue Sep 27 11:07:01 CDT 2016

Total time taken to generate the page: 0.07180 seconds