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

  • SEARCH
  • Home
  • 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 8957499
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T15:00:18+00:00 2026-06-15T15:00:18+00:00

I have managed to hide one image into another using this simple method. Cover

  • 0

I have managed to hide one image into another using this simple method.

Cover = imread('qw.jpg', 'jpg');
Hidden = imread('qwe.jpg', 'jpg');
n = 1; % Number of bits to replace

Processed = uint8(bitor(bitand(Cover, bitcmp(2^n - 1, 8)) , bitshift(Hidden, n - 8)));
Hidden = uint8(bitand(255, bitshift(Processed, 8 - n)));

figure, imshow(Processed)
figure, imshow(Hidden)

I want to store text in the cover image and I’ve tried

dec2bin(text,8)

to convert text to binary but I am unable to proceed further i.e. How to store the output of

de2bin()

bit by bit in lsb of Cover.
Can anyone help???

  • 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-06-15T15:00:19+00:00Added an answer on June 15, 2026 at 3:00 pm

    You can write the dec2bin() statement like this

    e.g.

     c=dec2bin(text,8);
    

    c holds the char array try this
    but don’t convert the text directly to binary first convert them to uint8 format then use the dec2bin() statement

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

Sidebar

Related Questions

I'm using jQuery and have managed to paste together a simple accordion which can
I have managed to create a custom action in C# using MakeSfxCA which is
I have managed to bring the following output with this query SELECT DISTINCT IF(purchaseproduct_customerid=0,contactperson,vendorname)
I have managed to put this condition and rule below together to redirect a
I have managed objects that have image properties. Since storing large blobs in CoreData
I have 2 divs that need to show hide. One with images, one with
I want to show/hide items that have a particular class (the one of the
I have an Excel VBA method (I didn't write it) that runs and one
I am running into a task where I have to hide some of the
I have managed to extract the filename and the extension and passed that to

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.