Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4051820
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T14:14:33+00:00 2026-05-20T14:14:33+00:00

I am using FMDB wrapper to store data in sqlite. I am facing problem

  • 0

I am using FMDB wrapper to store data in sqlite. I am facing problem when I am trying to store the images which comes from server to the database. the image data is in byte array format and I am storing the bytearray into NSData and storing the NSData into the sqlite database.the column that I am storing it into is of type blob. when I do select * from tablename –I get the byte array which should not be the case.

Just to test I created a sample project and in that I tried to store an image which is in my resources folder into the sqlite database. when I did select * from tablename I got “firtname|?PNG” which means the image is stored in png format. now I need to know how I can convert the byte array that comes from server into an image format.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T14:14:34+00:00Added an answer on May 20, 2026 at 2:14 pm

    I strongly recommend you to store the images outside the database. Store only file names there.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to get data from a database using FMDB but having tried with
I am using FMDB, which is a wrapper for SQLite. http://github.com/ccgus/fmdb Here is my
I heard using sqlite for long data transition from database is not efficient so
I've created a database for the iphone using sqlite and the fmdb wrapper. The
So here is the deal, I am using FMDB SQLite Wrapper for my DB
FMDB Wrapper VS Core Data : which is easier to use & maintain? I
I'm using FMDB to create a SQLite database on iPhone. I have a initial.sql
I have an iPad app that is using a sqlite database using FMDB as
I'm using FMDB for my iPhone App database and i want to create the
I am having trouble UPDATING my database using FMDB . Here's my SQL BOOL

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.