SQL Clone
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
sql_learner29
sql_learner29
Right there with Babe
Right there with Babe (723 reputation)Right there with Babe (723 reputation)Right there with Babe (723 reputation)Right there with Babe (723 reputation)Right there with Babe (723 reputation)Right there with Babe (723 reputation)Right there with Babe (723 reputation)Right there with Babe (723 reputation)

Group: General Forum Members
Points: 723 Visits: 922
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
SSCoach
SSCoach (18K reputation)SSCoach (18K reputation)SSCoach (18K reputation)SSCoach (18K reputation)SSCoach (18K reputation)SSCoach (18K reputation)SSCoach (18K reputation)SSCoach (18K reputation)

Group: General Forum Members
Points: 18893 Visits: 20460
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
SSChampion
SSChampion (10K reputation)SSChampion (10K reputation)SSChampion (10K reputation)SSChampion (10K reputation)SSChampion (10K reputation)SSChampion (10K reputation)SSChampion (10K reputation)SSChampion (10K reputation)

Group: General Forum Members
Points: 10218 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
SSCrazy
SSCrazy (2.5K reputation)SSCrazy (2.5K reputation)SSCrazy (2.5K reputation)SSCrazy (2.5K reputation)SSCrazy (2.5K reputation)SSCrazy (2.5K reputation)SSCrazy (2.5K reputation)SSCrazy (2.5K reputation)

Group: General Forum Members
Points: 2468 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
Grasshopper
Grasshopper (12 reputation)Grasshopper (12 reputation)Grasshopper (12 reputation)Grasshopper (12 reputation)Grasshopper (12 reputation)Grasshopper (12 reputation)Grasshopper (12 reputation)Grasshopper (12 reputation)

Group: General Forum Members
Points: 12 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
SSCrazy
SSCrazy (2.5K reputation)SSCrazy (2.5K reputation)SSCrazy (2.5K reputation)SSCrazy (2.5K reputation)SSCrazy (2.5K reputation)SSCrazy (2.5K reputation)SSCrazy (2.5K reputation)SSCrazy (2.5K reputation)

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

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


challenge85
challenge85
Grasshopper
Grasshopper (13 reputation)Grasshopper (13 reputation)Grasshopper (13 reputation)Grasshopper (13 reputation)Grasshopper (13 reputation)Grasshopper (13 reputation)Grasshopper (13 reputation)Grasshopper (13 reputation)

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