i have an project encrypting an grayscale image in c language. Before encrypting first i want to calculate its header that define it file format, and convert image data into a binary value.
i don`t know how to do this please help me?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.