Changing Image type stored in BLOB

Hi All,
Please let me know how to change the Image type already stored in a table as a BLOB datatype. The Images have been uploaded as .TIFF format into the table's BLOB data type.
Now We need to update/change the .TIFF images to .JPG.
Is there any tool, utility to update the Table column's (BLOB) image type. We have thousands of records where we need to do this operation.
Please guide.
Regards,
Snehangsu

Hi Trinoy,
Could you find a solution for the above problem?
We also have similar scenario and would be really interested to know about this.
-Vinay

Similar Messages

  • Automator - Change Image Type - Multiple page PDF- TIFF conversion

    I was able to do this on a friend's computer (not sure which version of OS X they were running), but this seems impossible on Snow Leopard.
    I need to convert hundreds of multiple page PDFs to TIFFs. I can't get this to work, and the Change Image Type option only lists single page PDF conversion. I could separate PDFs into multiple files, convert to TIFFs, but then I don't know how to recombine a bunch of TIFF pages into a larger file. From google searches, I know this is possible using tiffutil, but I don't really understand how to use that well, and I really need an automatic process.
    I'm at my wits end with this, because I did it just last week on someone else's computer and it was easy as pie. Why can't you convert multiple page PDFs in Snow Leopard?
    Any ideas?
    Thanks!

    I just tried this - two problems.
    It creates a separate tiff document for each page of the input pdf.
    Also, this action is just annoying because it results in randomly named files in some temp folder that i can only locate using the reveal finder item action. I know I can rename files in automator, but I'd really like to have the output file have the same name as the input file.
    It confuses me why they would remove this functionality in Snow Leopard.

  • Changing default picture viewer via GPO without changing image type and icon (Windows 7)

    Hello,
    I am trying to change the default picture viewer for some file extensions (.bmp, .jpeg, .png and .tiff). Actually Windows Photo Viewer is the default viewer and we need to replace it with Microsoft Office Picture Manager.
    I managed to do that change via GPO using the 'open with' preference under User Configuration\ Preferences\Control Panel Settings\Folder Options. So now the files are opened with Microsoft Office Picture Manager (office 2010). The problem is that the image
    type became 'OIS.EXE' for all the specified file extensions. Moreover the icon is now the same (Microsoft Office 2010).
    When I change manually the associated program for a file extension, the icon change but no the image type... this is different using GPO.
    Is there a solution in order to change the default program but keeping the image type and associated icon ?
    I tried to do that modification using the 'new file type' preference under Computer Configuration\Preferences\Control Panel Settings\Folder Options. I specified the 'open' action for OIS.exe, selected file extension BMP with associated class 'Bitmap Image'.
    It solves the problem for image type, Microsoft Office Picture Manager opens the files ... but I have to specify the icon file path and icon index and I don't know where I can find the default icons for the file extensions ...
    What is the best solution ? Am I right ? Am I doing something wrong ?
    Thank you in advance !

    Hello,
    thank you very much for your answers.
    For the rollback, I will reimport the original/default keys for all the image types, this should be ok.
    Here are the problems I have trying to pu Microsoft Office Picture Manager as default picture viewer (I just want  .bmp, .jpg ... files to be opened with Microsoft Office Picture Manager by default).
    1 Using new file type under Computer Configuration\Preferences\Control Panel Settings\folder options. : I define a new file type (BMP for example), associated class Bitmap Image, I configure the icon (imageres.dll,65) and an open action where OIS.EXE
    is the application used to perform the action.
    Result : Icon is correct, file type is correct, image files are opened with OIS.EXE (correct) ... BUT now Microsoft Office 2010 appears twice in open or open with menu
    2 Using new open with under User configuration\Preferences\Control Panel Settings\Folder Options : new open with preference, action (update or replace same result), file extension BMP, associated program (path to OIS.EXE), i check set as default.
    Result : Office 2010 opens image files (correct) but icon is Office 2010 one and the file type is now 'OIS.EXE' for all image file extensions I have specified ... so it won't be possible to sort the file by image type if I select that method...
    3 Using ftype : OIS.EXE doesn't open the file when I double click on it but Microsoft Office 2010 appears twice in the open or open with list ...
    I am a bit lost ... what is the best method to put Microsoft Office Picture Manager as default picture viewer, keeping the image type (Bitmap image, JPEG image etc) and without having Microsoft Office 2010 twice in the open or open with list ??
    Last question : by default an image file is opened and previewed with Windows Photo viewer and edited with Paint. I would like just to open images with Office 2010 but keep Windows Photo viewer for preview and Paint for edit ... Is it possible ??
    Thank you in advance for any help and support !!

  • How to migrate sql server image type to oracle BLOB

    In SQL Server table I have Image data type field. How to migrate image type field to oracle BOLB type field. I am using SQL server DTS to transfer the data.
    If we map, will it care ?
    Thanks,
    Venkataraman L

    Hi you might want to post your question in General Forum.
    General Database Discussions
    There's very few users visit this forum.

  • How do i set the transparency of an image retrieved from a database? (image was stored as blob)

    I had stored a png image into a database, when i retrieve it and display it the background is no longer transparent?
    I am loading the blob returned from the select statement by using the "loadBytes" method of the "UILoader" class.
    Thanx in advance
    gv1979

    If you want to stick with adjusting the scale you can do this two ways. Edit the value graph or edit the speed graph.
    The problem is that a camera move, a zoom or a dolly in, is not linear and scale is. This means the graphs are not a good representation of what you'll see visually. This makes them hard to use. At a constant rate for scale the appearance is that the increase in size slows down to closer you get to the final value. In other words, as you scale an object up at a constant rate, the visual appearance is a gradual slowing.
    A speed graph edited to look like this gives the appearance of a constant rate scale of the layer when you expect an acceleration at the end. There's just not enough granularity in the graph editor or enough control to predictably achieve the results you want.
    You'll have better luck editing the value graph to look something like this:
    While this looks extreme, you will get closer to achieving the results you want using the value graph. Once again, the amount of control and the resolution of the graph combined with the visual tomfoolery that scaling an object brings with it makes this a difficult way to achieve predictable results.
    You select the graph you'll edit by clicking on the second icon from the left.
    As I said before, you'll have much better luck getting the look you want if you make the layer 3D and move a camera toward it.

  • Display images stored in BLOB in html pages via JSP

    Hello,
    My images are stored in BLOB column of other base than portal.
    in JSP i have to display them in html pages.
    anybody have already did the same thing ?

    teggvb6,
    I believe you should be able to get it to work by doing the grants to the user specified in the DAD (i.e. the user that is logging into Oracle) rather than PUBLIC (someone else may correct me on this?).
    If you're concerned that the procedure could be called by others then I guess you could do some sanity checking within the procedure, for example checking v('APP_USER') or maybe v('SESSION') or perhaps do something clear with the REFERER http header? I haven't thought this through yet but I'm pretty sure you should be able to tie it down a bit more.

  • Image file stored in a blob type ingest to endeca 3.1 via integrator

    Hello All
    is it possible to ingest Image file stored in a blob type ingest to endeca 3.1 via integrator?
    i tried to load an image using type: byte but getting the following error massage:
    Unsupported type "byte" in field "PERSONIMAGE"
    i know that in demo's there are images as avatars and other images.
    any idea how to approach?
    thanks
    Yuval

    Hi,
    We finnally succeeded. Dsegard gave us the right solution. <div>It was the setup of the display that was on error. We use VNC as the display. Now the display is set correctly and the reports shows up fine.
    By seting REPORTS_DEFAULT_DISPLAY=NO, It did work for both the server and the local host.
    Thank you dsregard.</div>

  • Loading images stored as BLOBs in MySQL

    Hello,
    For various reasons, I would prefer to store binary data like images and videos as BLOBs within a MySQL database and have Flash retrieve that content directly from the database as opposed to getting it from a URL on a fileserver. So, I have written a PHP script that Flash calls which does a database query and returns the bitmap data from the BLOB. I have verified that the image data is being sent from the database through the PHP, but Flash either doesn't display the image or gives me an error saying that it is an unknown type.
    Here is the AS3:
    var imageLdr:Loader = new Loader();
    //imageLdr.dataFormat = "binary";
    imageLdr.load(new URLRequest("http://www.XXXXXXXXXX.com/cgi/getToken.php"));
    imageLdr.contentLoaderInfo.addEventListener(Event.COMPLETE, loadImage, false, 0, true);
    function loadImage(evt:Event):void {
        trace("Now in loadImage...");
        tokenHolder.addChild(imageLdr);
        addChild(tokenHolder);
        trace("loadImage complete...");
    Here is the getToken.php file code:
    <?php
    $hostname = "dbhost";
    $username = "username";
    $password = "pword";
    mysql_connect($hostname, $username, $password) or die ("<html><script language='JavaScript'>alert('Unable to connect to database'),history.go(-1)</script></html>");
    mysql_select_db($username);
    $query = "SELECT content FROM media WHERE id=2";
    $result = mysql_query($query);
    $data = mysql_result($result, 0);
    $im = imagecreatefromstring($data);
    if ($im !== false) {
        header('Content-Type: image/png');
        imagepng($im);
        imagedestroy($im);
    else {
        echo 'An error occurred.';
    ?>
    Is there a way to get Loader() to accept bitmap image data that is retrieved from a BLOB in a database? Should I try to get PHP to mimic the response from an HTTP server or is there another way to load bitmap data stored as a BLOB into a display object?
    Thanks!

    Hey
    Thanks for sharing your problem and how you get data as image in php. It gave me clue about my problem about getting blob info from database to as3 and displat it as image. So what i did is:
    In this fuction;
    function  loadImage(evt:Event):void {
        trace("Now in loadImage...");
         tokenHolder.addChild(imageLdr);
        addChild(tokenHolder);
         trace("loadImage complete...");
    I changed it to:
    public function loadImage(evt:Event):void {
                    trace("Now in loadImage...");
                    img= evt.currentTarget.content as Bitmap;
                    trace("loadImage complete...");
    img is a Bitmap variable and I used Image component and stated its source as imgg ( source={img} )
    I hope you can solve your problem
    Have a good day...

  • Poor image quality when displaying OLE Word doc stored in BLOB

    Hello,
    I am migrating some CR Reports from VB6 to VB.NET 2008.
    The reports retrieves Word documents that is stored in BLOB column on SQL Server 2005.
    If CR.NET (same behaviour with 2005 and 2008 versions) renders the word document, the quality is really bad. Looks like an ugly moire effect. The characters below 8pt font size are hardly readable.  I have already set the option "use full color-depth" in the report options.
    If the same word doc is rendered with CR that's included in VB6, it shows a clear and sharp output - the same as displayed in word.
    Where is the difference in handling Word OLE between those two CR versions?
    Is there anything I can do to improve the quality with CR.NET?
    Regards,
    Stefan

    Hello, Stefan;
    Is this a Windows or Web application?
    Visual Basic 6.0 shipped with Crystal Reports 4.6 Visual Studio .NET 2005 ships with Crystal Reports 10.2 and VS .NET 2008 with version 10.5.
    The Crystal Reports application was rewritten in versions 5.0 and  9.0 and a great many changes were made - among them different options for including OLE Objects. See the [Note 1218374|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_erq/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes.do] for useful new functionality. I tested a report with a linked Word document and it viewed well through Visual Studio .NET 2008.
    Is it possible support for the  the Word format as a BLOB field in MS SQL Server has changed over time. What method is used to create the document as a BLOB field?
    Are you using the bundled version included with Visual Studio .NET? In the article recommending the property 'Retain Original Image Color Depth', there is a note:
    Note: This option only functions with the full version of Crystal Reports 9 or 10. This option does not function with the .NET Report Designer.
    Originally the issue was fixed but only in a full versions of Crystal Reports Developer, not in the versions bundled with Visual Studio .NET.
    I tested with a linked Word document and see some degradation when there is an image in the Word Document but not in the text itself.
    Elaine

  • Problem in displaying images stored in Blob variable

    Hi all,
    I have a requirement where i need to retrieve the image stored in Blob variable in DB and display the image in JSP page.
    I have written the below code to achieve this, it works fine
    In JSP, I am calling a action in the <img tag
    <img src='downloadPhoto.page?method=getPhotoInBytes&accessoryModelPictures.id.accessoryNumber=${photo.id.accessoryNumber}/> In my controller class
    InputStream inputStream=accessoryPicturesLOB.getPicture().getBinaryStream();
    byte[] theBytes = new byte[inputStream.available()];
    inputStream.read(theBytes);
    response.setContentType("image/jpg");
    response.getOutputStream().write(theBytes);But the problem is, *if i right click on the image and select save picture as option i get a error saying "The system cannot find the specified file "*
    Can you please tell me what is wrong in my approach/code
    Is there any better approach to display image that is store in Blob variable ?
    Please help on this.
    Thanks in advance.

    You need at least to set the filename in the content disposition header.

  • Storing html along with images in database as Blob

    Hi,
    I have an html in which some images are embedded using image tags.Now I want to store this HTML as BLOB object such that both are stored in the same location, so that they can be retrieved using a jsp.
    Right now when I store the HTML, it gets properly displayed using jsp but the images are not displayed as images are stored locally.
    Can anyone suggest some approach for this?

    First of all, please excuse me about my por english.
    Some points to consider:
    1- I think you may have some issues understanding HTML. HTML only refers to images locations you cannot "put" immages "into" HTML.
    2- I supose you get the HTML as a String ad persists it on the DB. To get the images you must find the img tags in that string, get the src property and upload images individually.
    3- If you must store both HTML and images in the same BLOB field you have some problems, i think it could be fun to build something to do that, but not efficient. I sugest to use another field, another table really (1 to * relationship), to store images.
    4- When you display the HTML at your web server you must set the src attributes form de img tags pointig to some servlet that get the images form the DB, for example.
    I hope it helps you to understand the nature of your requeriment.

  • Import IMAGE type from SQL Server to BLOB in Oracle

    Hello,
    Is there a way to import a IMAGE type from SQL Server to BLOB type in Oracle from one table to another through a database link?
    I'm waiting for an answer as soon as possible.
    Best regards,
    Florin
    Edited by: Florin Manole on Sep 10, 2008 11:53 AM

    Have you already configured a Heterogeneous Services and Generic Connectivity to create a database link from Oracle to SQL Server? I haven't tried copying IMAGE data from SQL Server via Heterogeous Services myself, but from the [data type map|http://download.oracle.com/docs/cd/B19306_01/server.102/b14232/apb.htm#sthref509] in the documentation, I would expect that it would work so long as the SQL Server ODBC driver maps the IMAGE data type to SQL_LONGVARBINARY
    Justin

  • Changing a VARCHAR(2) to BLOB Data type

    I am trying to change a VARCHAR(2) data type into a BLOB. I have researched the web and found what I thought was the solution. That was to create a new column that was a BLOB, copy the information from the column I what to modify into it, then delete the original column and rename the BLOB column to that original name.
    However I am getting error messages such as…
    ORA-00904: "CUSTOMER2"."Cust_Firstname": invalid identifier
    When I issue this statement:
    UPDATE CUSTOMER2 SET "CUSTOMER2"."Cust_Firstname"=Temp_Name;
    or
    ORA-00904: "CUSTOMER2"."Temp_Name": invalid identifier
    When I issue this statement:
    UPDATE CUSTOMER2 SET "CUSTOMER2"."Cust_Firstname"="CUSTOMER2"."Temp_Name";
    Or
    And I have gotten an error message saying update failed was expecting a numeric got BLOB.
    I have UPDATED the table…
    SQL>Alter table CUSTOMER2 ADD Temp_Name BLOB;
    Table altered.
    0.74 seconds
    Does anyone have any ideas? All help would be very much appreciated!
    -Robert

    Hello Robert,
    first, I don't see which part of your question concerns APEX. There is {forum:id=75} where you probably get best input for your problem.
    Anyhow, just a few things you might think about before posting there.
    I am trying to change a VARCHAR(2) data type into a BLOBI'm not sure if you really want this to be a BLOB. Ususally, if text fields get too small, you'd use CLOB. Again, I'd guess the 4000 bytes you can easily store in a VARCHAR2 (not VARCHAR(2), right? this would be a two byte text field) would be sufficient for what I would expect to find in a column named "Cust_Firstname".
    UPDATE CUSTOMER2 SET "CUSTOMER2"."Cust_Firstname"=Temp_Name;Is this the actual code? I guess you didn't create the column "Cust_Firstname" with double quotes. Double quotes enable case sensitive handling, so "Cust_Firstname" is different from "cust_firstname" or "CUST_FIRSTNAME". The latter version would be the default if no quotes are used, i.e. everything is handled as it were in upper case.
    Concerning your assignment order: If "Temp_Name" is the new BLOB column, you wouldn't want "Cust_Firstname" to be overwritten with that empty value.
    If I understood you right, you want to transfer the value from "Cust_Firstname" (which is VARCHAR2) to "Temp_Name", which you created as BLOB. You should change the order in the update statement then.
    -Udo

  • Problem displaying PDF stored in BLOB column

    Hello everyone.
    I've been trying to follow this tutorial http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::p11_question_id:232814159006 on displaying PDFs stored in BLOB columns. This is being performed on Apex 4.2, with my DB running 11g. I've got my procedure, which I'll post below:
    create or replace procedure "PDF" (p_id IN gvo_documents.doc_id%type)
    is
        l_lob    blob;
        l_amt    number default 30;
        l_off   number default 1;
        l_raw   raw(4096);
    begin
        select contents into l_lob
            from gvo_documents
             where doc_id = p_id;
    -- make sure to change this for your type!
        owa_util.mime_header( 'application/pdf' );
        begin
            loop
              dbms_lob.read( l_lob, l_amt, l_off, l_raw );
              htp.prn( utl_raw.cast_to_varchar2( l_raw ) );
              l_off := l_off+l_amt;
              l_amt := 4096;           
        end loop;
            exception
               when no_data_found then
                  NULL;
            end;
    end;
    I am trying to run this through a PL/SQL dynamic region and while I don't receive any error's, the content displayed is a huge mess of garbled text and odd characters. I've tried to run this procedure on numerous other document types, including word files and jpeg images, all with the necessary changes in my procedure, and regardless of what I use, I still get a large mess of strange characters. Does anyone have any information or ideas about why this is happening?

    If I understand correctly, your requirements needs to be broken down into two problems:
    1) click link that pops up a window displaying a new APEX page
    2) an APEX page the displays the document, not downloads it.
    I haven't done #1 (yet).
    However, you may be able to generate a URL that points to the new page as part of the SELECT statement for the Report.
    This has a related question, but no answer yet:
    open pdf in popup browser window
    The key is target="_blank" for the anchor tag.
    To generate the URL, you should use the APEX_UTIL.prepare_URL() function.
    If that doesn't work, a Dynamic Action that does some magical JavaScript stuff may be needed.
    For #2, I lost the URL that showed how to display a PDF as part of a "form" page.
    From what I remember:
    Start with a blank page with one blank HTML region (all the Items go in the HTML region)
    Add an Item for the PK/Doc_ID
    part I forgot Create a Data Manipulation Process
    - Automated Row Fetch
    - On Load - After Header
    - (stuff for your table/view)
    part I forgot Create an (I believe) "File Browser" item type. For Settings:
    - Storage Type "BLOB column specified in Item Source" (and place the column name of the BLOB there)
    - MIME Type Column: (column name) -- since you have multiple types, this is a MUST HAVE
    - Filename Column: (column name) -- I highly recommend you have this.
    - Content Disposition == INLINE <-- this is the kicker
    Also, you will need a Browser Plugin for each of the MIME Types (otherwise, the browser may try to 'download' the file)
    Browsers can handle Image types internally. Adobe's plugin can handle PDFs. I don't know about Word/Excel.
    Again, I don't remember the exact details, but that should cover most of it.
    MK

  • Image not storing in SQLite Database

    Hi All
    I am creation an application in WPF C# in which i have created an Ink Canavs 
    now i want to insert the InkCanvas  Data or stockes in SQLite Database for that i hv created an folder in my application
    and on"btnSaveCanvasImg" button Clicked i am saving the image of InkCanvas in a folder and on "btnSaveImgInDatabase" button clicked The saved image stored in the database 
    But when i clicked on"btnSaveCanvasImg" button image saved in folder , but when clicked on "btnSaveImgInDatabase" button the image doesn't store in the database.
    following is my code
    XML:-
    <Window x:Class="InkCanvasInDatabase.MainWindow"
            xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
            xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
            Title="MainWindow" Height="800" Width="600">
        <Grid>
            <InkCanvas Name="MainInkCanvas" HorizontalAlignment="Left" Height="500" VerticalAlignment="Top" Width="595">
                <InkCanvas.Background>
                    <ImageBrush ImageSource="C:\Testimonial_Project\Assets\Images\notePaper.png"/>
                </InkCanvas.Background>
            </InkCanvas>
            <Button x:Name="btnSaveCanvasImg" Content="Save Canvas Image" HorizontalAlignment="Left" Margin="33,599,0,0" VerticalAlignment="Top" Width="200" Height="51"
    FontSize="20" Click="btnSaveCanvasImg_Click"/>
            <Button x:Name="btnSaveImgInDatabase" Content="Save Image In Database" HorizontalAlignment="Left" Margin="281,599,0,0" VerticalAlignment="Top" Width="238" Height="51"
    FontSize="20" Click="btnSaveImgInDatabase_Click"/>
        </Grid>
    </Window>
    C# Code:-
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using System.Threading.Tasks;
    using System.Windows;
    using System.Windows.Controls;
    using System.Windows.Data;
    using System.Windows.Documents;
    using System.Windows.Input;
    using System.Windows.Media;
    using System.Windows.Media.Imaging;
    using System.Windows.Navigation;
    using System.Windows.Shapes;
    using System.Windows.Ink;
    using System.Windows.Ink.AnalysisCore;
    using Microsoft.Win32;
    using System.IO;
    using System.Data.SQLite;
    namespace InkCanvasInDatabase
        /// <summary>
        /// Interaction logic for MainWindow.xaml
        /// </summary>
        public partial class MainWindow : Window
            string imagename;
            public MainWindow()
                InitializeComponent();
            public void loadInkAnalyzer()
                InkAnalyzer theInkAnalyzer = new InkAnalyzer();
                theInkAnalyzer.AddStrokes(MainInkCanvas.Strokes);
                AnalysisStatus status = theInkAnalyzer.Analyze();
                if (status.Successful)
                    saveInkCanvasBitmap();
                else
                    MessageBox.Show("Recognition Failed");
            public void saveInkCanvasBitmap()
                RenderTargetBitmap rtb = new RenderTargetBitmap((int)MainInkCanvas.Width, (int)MainInkCanvas.Height, 0,0, PixelFormats.Default);
                rtb.Render(MainInkCanvas);
                BmpBitmapEncoder encoder = new BmpBitmapEncoder();
                encoder.Frames.Add(BitmapFrame.Create(rtb));
               // FileStream fs = File.Open(@"C:\inkCanvas_Images\test.jpg", FileMode.Create);
                FileStream fs = File.Open(@"C:\Users\xeniun1\Desktop\24.02.2015 Xenium_Project\23.02.2015 InkCanvas\InkCanvasInDatabase\InkCanvasInDatabase\InkCanvas_Images\.jpg", FileMode.Create);
                encoder.Save(fs);
                fs.Close();
            public void insertImgInDatabase()
                byte[] signature;
                using (MemoryStream ms = new MemoryStream())
                    MainInkCanvas.Strokes.Save(ms);
                    signature = ms.ToArray();
                string stConn = @"Data Source=inkCanvas_DB.db;Version=3";
                SQLiteConnection sqliteConn = new SQLiteConnection(stConn);
                sqliteConn.Open();
                string sql = "INSERT INTO User_Details (User_Text) VALUES (@Sig)";
                SQLiteCommand comm = new SQLiteCommand(sql, sqliteConn);
                comm.Parameters.AddWithValue("@Sig", signature);
                comm.ExecuteNonQuery();
           private void btnSaveCanvasImg_Click(object sender, RoutedEventArgs e)
                loadInkAnalyzer();
                //MainInkCanvas.Strokes.Clear();
                MessageBox.Show("Ink Canvas Save as Image");
            private void btnSaveImgInDatabase_Click(object sender, RoutedEventArgs e)
                insertImgInDatabase();
                MainInkCanvas.Strokes.Clear();
                MessageBox.Show("Ink Canvas Image saved in Database");
    Plz provide solution for this 
    Regards

    Please close your previous threads by marking helpful posts as answer before you start a new one.
    The type of the image columns should be BLOB. And make sure that you are looking at the inkCanvas_DB.db in the output folder of your .exe ([your_project_foder]/bin/Debug or [your_project_foder]/bin/Debug) because it is this database that the data gets written
    to unless you specify an absolute path in the connection string:
    string stConn = @"Data Source=C:\Your_Project_Folder\inkCanvas_DB.db;Version=3";
    Please upload a reproducable sample of your issue to OneDrive and post the link to it here for further help.
    And please remember to close your threads by marking helpful posts as answer.

Maybe you are looking for