Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def generateStegoImage(theImage, theSecret, theConfig):
- markedPixelData = Util.createBlankImage(theImage.width,theImage.height)
- theStegoImage = Image(markedPixelData,theImage.width,theImage.height)
- bucketList = generateListOfBSizedBucketsContainingSbizedSubBlocksFromImage(theImage, theConfig)
- for bucket in bucketList:
- if theSecret.hasMoreBitsToEmbed():
- bucket.embedSecretBitsIntoPixelBlock(theSecret, theConfig, )
- bucket.writePixelBlockToImage(theStegoImage)
- return theStegoImage, theSecret
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement