Find Jobs
Hire Freelancers

Best practice tiff image to memory

$10-30 USD

已关闭
已发布将近 9 年前

$10-30 USD

货到付款
I have a project that is written in c++ and it works fine but I am moving everything to c#. I am scanning 1500 pages of documents and storing them in memory. I know this is a big undertaking and I have enough memory it already works in c++. I do not need the project written for me I need a good start. In c++ I store them in an array and as a dib in a long variable. As an array I can move them up and down in the list pretty easy. I will need to move these images and get them in a different order. I will also have to group them. This is so I can tell that the first 2 pages go with one document the next 10 go with another and so on. I had storing them in a generic list or something because they will not be so easy to move around. I am open to suggestions I just need a way to move these images around and then when I get them in the order I need and the amount of pages per group. I will init through them and save them where they need to go. Thanks and good luck. I just need the best approach and an idea I will do the rest.
项目 ID: 7964094

关于此项目

4提案
远程项目
活跃9 年前

想赚点钱吗?

在Freelancer上竞价的好处

设定您的预算和时间范围
为您的工作获得报酬
简要概述您的提案
免费注册和竞标工作
4威客以平均价$63 USD来参与此工作竞价
用户头像
You can create class for image, such as: class myImage { Image img; int groupNumber; int indexInGroup; ... } and use List of myImage object for storing: List<myImage> imageslist = new List<myImage>(); In myImage class create functions for move images up and down (swap indexInGroup) and other functions for group
$10 USD 在1天之内
5.0 (24条评论)
4.6
4.6
用户头像
A proposal has not yet been provided
$25 USD 在1天之内
5.0 (1条评论)
2.4
2.4
用户头像
I would suggest the following: First you would need to create a file format to save progress, I know you wouldn't sort all of the pages in one go, also in case any runtime exception happens you'll hate it if you have to start all over again. I would suggest for the file format xml with a simple structure, you just need the image file name and the page number(sort order). Second to have them in memory, I think the obvious choice would be a generic list. you would create a structure that would have and ID/PageNumber int property, string with the filename to the image, and also an Image object with the Image already loaded in it, this would look something like this: struct pages { public String documentName; //image document public int PageNumber; //used to order pages public Image img; // image in mem } List<pages> ImagesInMemory = new List<pages>(); Basically this is something you could figure out on your own, the tricky part would be to have this ordered, well you would do this based on PageNumber, simply you create a function that "orders" this list, you would pass in the page number you'd want to assign and the index of the object, so this function would just assign the number to the current element and traverse the whole list and add 1 if the current page number is between the current and previous PageNumber, I tried to post some more code but can't add too many characters in this box. please contact me for info
$25 USD 在1天之内
0.0 (0条评论)
0.0
0.0

关于客户

UNITED STATES的国旗
Davisville, United States
5.0
133
付款方式已验证
会员自11月 22, 2002起

客户认证

谢谢!我们已通过电子邮件向您发送了索取免费积分的链接。
发送电子邮件时出现问题。请再试一次。
已注册用户 发布工作总数
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
加载预览
授予地理位置权限。
您的登录会话已过期而且您已经登出,请再次登录。