Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

how to merge single page tiff file to multi page tiff file Expand / Collapse
Author
Message
Posted Thursday, October 27, 2011 12:43 PM
Old Hand

Old HandOld HandOld HandOld HandOld HandOld HandOld HandOld Hand

Group: General Forum Members
Last Login: Friday, September 12, 2014 11:45 AM
Points: 336, Visits: 867
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
Post #1197171
Posted Thursday, October 27, 2011 2:03 PM


SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Today @ 11:18 AM
Points: 5,316, Visits: 12,346
Not natively.

If you can find a C#/VB solution, we can probably shoehorn it into SSIS somehow.



Help us to help you. For better, quicker and more-focused answers to your questions, consider following the advice in this link.

When you ask a question (and please do ask a question: "My T-SQL does not work" just doesn't cut it), please provide enough information for us to understand its context.

It is better to keep your mouth shut and appear stupid than to open it and remove all doubt. (Mark Twain)
Post #1197199
Posted Thursday, October 27, 2011 2:05 PM


SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Thursday, October 9, 2014 1:02 PM
Points: 6,032, Visits: 5,284
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
Post #1197202
Posted Friday, October 28, 2011 10:14 AM


Ten Centuries

Ten CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen Centuries

Group: General Forum Members
Last Login: Sunday, September 14, 2014 3:17 PM
Points: 1,118, Visits: 2,224
Learner1 (10/27/2011)
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


For image manipulation I would recommend ImageMagick. It is open-source and actively maintained and enhanced.


---
SSIS Tasks Components Scripts Services | http://www.cozyroc.com/

Post #1197580
Posted Monday, July 22, 2013 9:17 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Monday, July 22, 2013 9:14 PM
Points: 1, Visits: 0
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#
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

}
}
}

[/quote]
[quote]
Post #1476333
Posted Tuesday, August 27, 2013 8:47 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Saturday, September 28, 2013 9:18 PM
Points: 2, Visits: 6
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 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!
Post #1489005
Posted Tuesday, August 27, 2013 10:35 PM


Ten Centuries

Ten CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen Centuries

Group: General Forum Members
Last Login: Sunday, September 14, 2014 3:17 PM
Points: 1,118, Visits: 2,224
ImageMagick is free.

---
SSIS Tasks Components Scripts Services | http://www.cozyroc.com/

Post #1489012
Posted Thursday, September 12, 2013 3:56 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Thursday, November 14, 2013 1:42 AM
Points: 3, Visits: 1
To merge tiff files 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

}
Post #1494079
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse