This forum contains outdated content and is available for reading only. Please contact technical support if you have any questions.

Notification

Icon
Error

Options
Go to last post Go to first unread
balajim123  
#1 Posted : Tuesday, June 9, 2015 11:13:38 PM(UTC)
balajim123

Rank: Newbie

Groups: Guest
Joined: 5/21/2015(UTC)
Posts: 5

Step1: uploaded image resized what ever i need resolution and saved.

followed same step1 again then am getting session time out error.

Note: if first time image resize then no issue. only second time image resize getting problem

am using trail version .

dotnet framework 4.0 and vs2010


Thanks
Balaji

Edited by user Tuesday, June 9, 2015 11:14:53 PM(UTC)  | Reason: Not specified

Fedor  
#2 Posted : Tuesday, June 9, 2015 11:48:20 PM(UTC)
Fedor

Rank: Advanced Member

Groups: Guest
Joined: 7/28/2003(UTC)
Posts: 1,660

Thanks: 5 times
Was thanked: 76 time(s) in 74 post(s)
Hi Balaji,

Could you post a code you use to resize an image?

Edited by user Wednesday, June 10, 2015 3:58:39 AM(UTC)  | Reason: Not specified

Best regards,
Fedor Skvortsov
balajim123  
#3 Posted : Wednesday, June 10, 2015 12:33:34 AM(UTC)
balajim123

Rank: Newbie

Groups: Guest
Joined: 5/21/2015(UTC)
Posts: 5

Hi,

Thanks for your reply. find the below code for image resize


Code:
using (var reader = ImageReader.Create(OriginalImage))
using (var resize = new Resize(320, 400, ResizeInterpolationMode.High, ResizeMode.Fit))
using (var writer = ImageWriter.Create(newImg))
{
    Pipeline.Run(reader + resize + writer);
}


Thanks
Balaji

Edited by moderator Wednesday, June 10, 2015 3:58:04 AM(UTC)  | Reason: Not specified

Fedor  
#4 Posted : Wednesday, June 10, 2015 3:58:28 AM(UTC)
Fedor

Rank: Advanced Member

Groups: Guest
Joined: 7/28/2003(UTC)
Posts: 1,660

Thanks: 5 times
Was thanked: 76 time(s) in 74 post(s)
What size of image do you process? Could you send us a sample image?
Best regards,
Fedor Skvortsov
balajim123  
#5 Posted : Wednesday, June 10, 2015 4:37:38 AM(UTC)
balajim123

Rank: Newbie

Groups: Guest
Joined: 5/21/2015(UTC)
Posts: 5

2434x2434 JPG format
balajim123 attached the following image(s):
123.JPG
Fedor  
#6 Posted : Wednesday, June 10, 2015 8:01:26 AM(UTC)
Fedor

Rank: Advanced Member

Groups: Guest
Joined: 7/28/2003(UTC)
Posts: 1,660

Thanks: 5 times
Was thanked: 76 time(s) in 74 post(s)
Hi Balaji,

Unfortunately I can't reproduce the problem. The file size is pretty small and it should not cause any problems.

Could you send us an entire project? It should help us to reproduce the problem.

You can submit a case if it is more convenient for you.
Best regards,
Fedor Skvortsov
Users browsing this topic
Guest
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.