October 27, 2011 at 12:43 pm
Hi
I have a requirement to merge single page tiff files stroed in a table to a muli page tiff file...
Can I accomplish this using SSIS?
Thanks
Thanks [/font]
October 27, 2011 at 2:03 pm
Not natively.
If you can find a C#/VB solution, we can probably shoehorn it into SSIS somehow.
The absence of evidence is not evidence of absence
- Martin Rees
The absence of consumable DDL, sample data and desired results is, however, evidence of the absence of my response
- Phil Parkin
October 27, 2011 at 2:05 pm
You could certainly slam the data together but what you are looking for is more image handling. Phil is right, you need to look for an example in VB/C# that handles it and then see if you can rework it for SSIS. But out of the box, no, there is nothing to handle it.
CEWII
October 28, 2011 at 10:14 am
Learner1 (10/27/2011)
HiI have a requirement to merge single page tiff files stroed in a table to a muli page tiff file...
Can I accomplish this using SSIS?
Thanks
For image manipulation I would recommend ImageMagick. It is open-source and actively maintained and enhanced.
July 22, 2013 at 9:17 pm
Not natively.
If you can find a C#/VB solution, we can probably shoehorn it into SSIS somehow.
that's true ,here I would like share with u C# solution .check merge two tiff files sample codes for C#[/url]
using RasterEdge.Imaging.TIFF;
using RasterEdge.Imaging.Basic.Core;
using RasterEdge.Imaging.Basic;
namespace WindowsApplication1
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
public static string FolderName = "c:/";
private void button1_Click(object sender, EventArgs e)
{
string fileName1 = FolderName + "Sample1.tif";
string fileName2 = FolderName + "Sample2.tif";
string fileNameMerged = FolderName + "Merged.tif";
REDocument doc1 = REFile.OpenDocumentFile(fileName1, new TIFDecoder());//use TIFDecoder open one tif file
REDocument doc2 = REFile.OpenDocumentFile(fileName2, new TIFDecoder());//use TIFDecoder open another tif file
BaseDocument docMerged = doc1.MergeDocument(doc2);//merge two tif
REFile.SaveDocumentFile((REDocument)docMerged, fileNameMerged, new TIFEncoder());//save new tif
}
}
}
August 27, 2013 at 8:47 pm
taler6868 (7/22/2013)
Not natively.
If you can find a C#/VB solution, we can probably shoehorn it into SSIS somehow.
that's true ,here I would like share with u C# solution .check merge two tiff files sample codes[/url] for C#
using RasterEdge.Imaging.TIFF;
using RasterEdge.Imaging.Basic.Core;
using RasterEdge.Imaging.Basic;
namespace WindowsApplication1
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
public static string FolderName = "c:/";
private void button1_Click(object sender, EventArgs e)
{
string fileName1 = FolderName + "Sample1.tif";
string fileName2 = FolderName + "Sample2.tif";
string fileNameMerged = FolderName + "Merged.tif";
REDocument doc1 = REFile.OpenDocumentFile(fileName1, new TIFDecoder());//use TIFDecoder open one tif file
REDocument doc2 = REFile.OpenDocumentFile(fileName2, new TIFDecoder());//use TIFDecoder open another tif file
BaseDocument docMerged = doc1.MergeDocument(doc2);//merge two tif
REFile.SaveDocumentFile((REDocument)docMerged, fileNameMerged, new TIFEncoder());//save new tif
}
}
}
thanks for sharing, that's awesome but somewhat overpriced for me who will just use it only once, do you have some cheaper or even free versions, any suggestion will be appreciated!
August 27, 2013 at 10:35 pm
September 12, 2013 at 3:56 am
To merge tiff files[/url] you can use this demo code:
using RasterEdge.Imaging.TIFF;
using RasterEdge.Imaging.Basic.Core;
using RasterEdge.Imaging.Basic;
namespace WindowsApplication1
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
public static string FolderName = "c:/";
private void button1_Click(object sender, EventArgs e)
{
string fileName1 = FolderName + "Sample1.tif";
string fileName2 = FolderName + "Sample2.tif";
string fileNameMerged = FolderName + "Merged.tif";
REDocument doc1 = REFile.OpenDocumentFile(fileName1, new TIFDecoder());//use TIFDecoder open one tif file
REDocument doc2 = REFile.OpenDocumentFile(fileName2, new TIFDecoder());//use TIFDecoder open another tif file
BaseDocument docMerged = doc1.MergeDocument(doc2);//merge two tif
REFile.SaveDocumentFile((REDocument)docMerged, fileNameMerged, new TIFEncoder());//save new tif
}
Viewing 8 posts - 1 through 7 (of 7 total)
You must be logged in to reply to this topic. Login to reply