Find Jobs
Hire Freelancers

Best practice tiff image to memory

$10-30 USD

Cerrado
Publicado hace más de 8 años

$10-30 USD

Pagado a la entrega
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 del proyecto: 7964094

Información sobre el proyecto

4 propuestas
Proyecto remoto
Activo hace 9 años

¿Buscas ganar dinero?

Beneficios de presentar ofertas en Freelancer

Fija tu plazo y presupuesto
Cobra por tu trabajo
Describe tu propuesta
Es gratis registrarse y presentar ofertas en los trabajos
4 freelancers están ofertando un promedio de $63 USD por este trabajo
Avatar del usuario
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 en 1 día
5,0 (24 comentarios)
4,6
4,6
Avatar del usuario
A proposal has not yet been provided
$25 USD en 1 día
5,0 (1 comentario)
2,4
2,4
Avatar del usuario
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 en 1 día
0,0 (0 comentarios)
0,0
0,0

Sobre este cliente

Bandera de UNITED STATES
Davisville, United States
5,0
133
Forma de pago verificada
Miembro desde nov 22, 2002

Verificación del cliente

¡Gracias! Te hemos enviado un enlace para reclamar tu crédito gratuito.
Algo salió mal al enviar tu correo electrónico. Por favor, intenta de nuevo.
Usuarios registrados Total de empleos publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Cargando visualización previa
Permiso concedido para Geolocalización.
Tu sesión de acceso ha expirado y has sido desconectado. Por favor, inica sesión nuevamente.