CarlosJuncher03 opened a new issue, #7821:
URL: https://github.com/apache/hop/issues/7821

   ### What would you like to happen?
   
   Objective
   
   Add new native Transformations to Apache Hop to simplify binary content and 
file processing directly inside pipelines, reducing the need for custom scripts 
or external code.
   
   Proposed Transformations
   1. Base64 to Binary
   
   Create a transformation that converts a field containing Base64-encoded 
content into a Binary field.
   
   Example:
   
   Base64 String → Binary
   
   Expected configuration:
   
   Input field containing the Base64 value.
   Output field containing the binary content.
   Option to replace the original field.
   Error handling for invalid Base64 content.
   2. Binary to Base64
   
   Create a transformation that converts a Binary field into a Base64 String.
   
   Example:
   
   Binary → Base64 String
   
   Expected configuration:
   
   Input binary field.
   Output Base64 field.
   Option to replace the original field.
   3. PDF Text Extractor
   
   Create a transformation capable of receiving a PDF document and extracting 
its textual content directly inside the pipeline.
   
   Supported inputs:
   
   Binary field containing the PDF.
   File path or filename pointing to a PDF document.
   
   Expected outputs:
   
   Extracted text.
   Number of pages, when available.
   Basic document metadata, when available.
   Processing status or error information.
   Example Use Cases
   
   A pipeline could support flows such as:
   
   API → Base64 to Binary → PDF Text Extractor → Text Processing
   
   Or:
   
   File → Binary → Binary to Base64 → API
   
   Acceptance Criteria
   The features must be available as native Apache Hop Transformations.
   Base64 to Binary must accept a String field and produce a Binary field.
   Binary to Base64 must accept a Binary field and produce a String field.
   PDF Text Extractor must support extracting text from a PDF received as a 
Binary field.
   Each transformation must allow configuration of input and output fields.
   Conversion and processing errors must support Apache Hop's standard error 
handling mechanism.
   The transformations must work without requiring JavaScript, Groovy, or 
custom code.
   Expected Result
   
   Provide reusable and simple native transformations for pipelines that work 
with files, APIs, binary data, and documents, especially when documents are 
received or sent using Base64 encoding.
   
   ### Issue Priority
   
   Priority: 3
   
   ### Issue Component
   
   Component: Transforms


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to