I'm trying to save the Image and Load it in a tableView, for saving in my SQLite file I do this : 

```
-(void)InsertRecords:(NSData *)pic{
..... // Open my SQLite file
NSString *insertSQL = [NSString stringWithFormat: @"INSERT INTO myMovies (movieImage) VALUES (\"%@\")", pic];
...
const char *insert_stmt = [insertSQL UTF8String];
...
sqlite3_bind_blob(statement, 1, [pic bytes], [pic length], NULL);
...

```

Which pic is a NSData and i got NSLog of it. and gave me the codes. Also for loading I used this code : 

```
int length = sqlite3_column_bytes(sqlStatement, 1);
MyMovie.image = [NSData dataWithBytes:sqlite3_column_blob(sqlStatement, 1) length:length];

```

and NSLoged from it and it had the similar structure of the NSData but with different data ! It completely changed ! Am I doing something wrong ?