Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


how to merge single page tiff file to multi page tiff file


how to merge single page tiff file to multi page tiff file

Author
Message
NoraG
NoraG
Old Hand
Old Hand (360 reputation)Old Hand (360 reputation)Old Hand (360 reputation)Old Hand (360 reputation)Old Hand (360 reputation)Old Hand (360 reputation)Old Hand (360 reputation)Old Hand (360 reputation)

Group: General Forum Members
Points: 360 Visits: 916
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

Phil Parkin
Phil Parkin
SSCrazy Eights
SSCrazy Eights (8.4K reputation)SSCrazy Eights (8.4K reputation)SSCrazy Eights (8.4K reputation)SSCrazy Eights (8.4K reputation)SSCrazy Eights (8.4K reputation)SSCrazy Eights (8.4K reputation)SSCrazy Eights (8.4K reputation)SSCrazy Eights (8.4K reputation)

Group: General Forum Members
Points: 8375 Visits: 19500
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.

If the answer to your question can be found with a brief Google search, please perform the search yourself, rather than expecting one of the SSC members to do it for you.

Please surround any code or links you post with the appropriate IFCode formatting tags. It helps readability a lot.
Elliott Whitlow
Elliott Whitlow
SSCertifiable
SSCertifiable (6.2K reputation)SSCertifiable (6.2K reputation)SSCertifiable (6.2K reputation)SSCertifiable (6.2K reputation)SSCertifiable (6.2K reputation)SSCertifiable (6.2K reputation)SSCertifiable (6.2K reputation)SSCertifiable (6.2K reputation)

Group: General Forum Members
Points: 6208 Visits: 5314
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
CozyRoc
CozyRoc
Ten Centuries
Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)

Group: General Forum Members
Points: 1150 Visits: 2235
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/


taler6868
taler6868
Forum Newbie
Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)

Group: General Forum Members
Points: 3 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]

charles_frazier64
charles_frazier64
Forum Newbie
Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)

Group: General Forum Members
Points: 4 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!
CozyRoc
CozyRoc
Ten Centuries
Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)

Group: General Forum Members
Points: 1150 Visits: 2235
ImageMagick is free.

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


challenge85
challenge85
Forum Newbie
Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)

Group: General Forum Members
Points: 5 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

}
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search