Welcome Guest! You need to login or register to make posts.

Notification

Icon
Error

Options
Go to last post Go to first unread
jgibbs  
#1 Posted : Wednesday, December 10, 2008 12:26:33 AM(UTC)
jgibbs

Rank: Advanced Member

Groups: Member
Joined: 9/22/2008(UTC)
Posts: 39

I'm using 5.7 and I'm extracting the horizontal resolution from the post field

iu.addParam("ExtractExif", "ExifXResolution");

in my upload.aspx page I'm reading that using this:

Dim theResolution As String = request.form("HorizontalResolution_" & i)

but what comes across is "-1" for a result. Any ideas why I would be getting -1?

Dmitry  
#2 Posted : Wednesday, December 10, 2008 2:44:58 PM(UTC)
Dmitry

Rank: Advanced Member

Groups: Member, Administration, Moderator
Joined: 8/3/2003(UTC)
Posts: 1,070

Thanks: 1 times
Was thanked: 12 time(s) in 12 post(s)
Hello,

Could you give me the image that you tried to upload?

Sincerely yours,

Dmitry Sevostyanov

UserPostedImage Follow Aurigma on Twitter!

jgibbs  
#3 Posted : Thursday, December 11, 2008 9:06:58 PM(UTC)
jgibbs

Rank: Advanced Member

Groups: Member
Joined: 9/22/2008(UTC)
Posts: 39

Dmitry  
#4 Posted : Monday, December 15, 2008 12:12:36 AM(UTC)
Dmitry

Rank: Advanced Member

Groups: Member, Administration, Moderator
Joined: 8/3/2003(UTC)
Posts: 1,070

Thanks: 1 times
Was thanked: 12 time(s) in 12 post(s)
Hello,

It is strange... I created small sample which just uploads an image and dumps all POST fields on the server. After I upload your image using Image Uploader Java 5.7.14 I see the following values in the request:

HorizontalResolution_1 300

VerticalResolution_1 300

ExifXResolution_1 300

I attached the sample, please, try it out on your end. To launch this sample you need to post it to your web server, assign read/write privileges for Network Services user to Dumps folder. After that you need to upload the image and check dump in Resolution\Dumps\_0\ExtractDump.txt file.

Edited by user Monday, December 15, 2008 12:17:48 AM(UTC)  | Reason: Not specified

File Attachment(s):
Resolution.zip (1,912kb) downloaded 2 time(s).
Sincerely yours,

Dmitry Sevostyanov

UserPostedImage Follow Aurigma on Twitter!

jgibbs  
#5 Posted : Monday, December 15, 2008 4:43:23 AM(UTC)
jgibbs

Rank: Advanced Member

Groups: Member
Joined: 9/22/2008(UTC)
Posts: 39

OK...I see what I was doing now. I was putting in ExifXResolution to pull, but in my upload.aspx file I was trying to extract HorizontalResolution (not sure why I was doing that)...so my result was always -1. After looking at the dumps.txt file I realized my mistake. Thanks
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.