Find Jobs
Hire Freelancers

Extracting Frames From a TIF Compression Issue - 01/05/2018 13:05 EDT

$10-30 USD

Cancelado
Publicado hace casi 6 años

$10-30 USD

Pagado a la entrega
I have the following function that is creating multipage tif files from a larger image. I need the Images to be Compression-CCITT4 images rather than the LZW this is creating. Public Sub ExtractTiffFrames(ByVal start As Integer, ByVal endX As Integer, ByVal inputFileName As String, ByVal outputFileName As String) Try Dim MasterBitmap As Bitmap = New Bitmap(inputFileName) 'Start page of document(master) Dim imageAdd As Image = [login to view URL](inputFileName) 'Frame Image that will be added to the master Dim guid As Guid = [login to view URL](0) 'GUID Dim dimension As FrameDimension = New FrameDimension(guid) ' start index cannot be less than 0 and cannot be greater than frame count If ((start < 1) _ OrElse (endX > [login to view URL](dimension))) Then Return End If Dim ep As EncoderParameters = New EncoderParameters(1) 'Get Image Codec Information Dim codecs() As ImageCodecInfo = [login to view URL] Dim codecInfo As ImageCodecInfo = codecs(3) 'image/tiff 'MultiFrame Encoding format Dim epMultiFrame As EncoderParameter = New EncoderParameter([login to view URL], CType([login to view URL], Long)) [login to view URL](0) = epMultiFrame [login to view URL](dimension, (start - 1)) [login to view URL](outputFileName, codecInfo, ep) 'create master document 'FrameDimensionPage Encoding format Dim epFrameDimensionPage As EncoderParameter = New EncoderParameter([login to view URL], CType([login to view URL], Long)) [login to view URL](0) = epFrameDimensionPage Dim i As Integer = start Do While (i < endX) [login to view URL](dimension, i) 'select next frame [login to view URL](New Bitmap(imageAdd), ep) 'add it to the master i = (i + 1) Loop 'Flush Encoding format Dim epFlush As EncoderParameter = New EncoderParameter([login to view URL], CType([login to view URL], Long)) [login to view URL](0) = epFlush [login to view URL](ep) 'flush the file Catch ex As Exception Throw ex End Try End Sub
ID del proyecto: 16851496

Información sobre el proyecto

1 propuesta
Proyecto remoto
Activo hace 6 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
1 freelancer está ofertando un promedio de $22 USD por este trabajo
Avatar del usuario
Hello I think I solved similar problem recently. That project involved writing TIFF with CCITT4 encoding...
$22 USD en 1 día
4,9 (589 comentarios)
7,0
7,0

Sobre este cliente

Bandera de UNITED STATES
Conshohocken, United States
5,0
22
Forma de pago verificada
Miembro desde ago 27, 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.