GithubHelp home page GithubHelp logo

lukasz-staniszewski / bmp-img-rotation-x64-c-hybrid Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 10 KB

BMP format image rotation made with hybrid programming (ASM x86-64 and C).

Makefile 1.86% C 63.93% Assembly 34.21%
x86-64 assembly c makefile hybrid-programming

bmp-img-rotation-x64-c-hybrid's Introduction

BMP IMAGE ROTATION WITH C/x86-64 HYBRID PROGRAMMING

ŁUKASZ STANISZEWSKI

I. HOW TO:

  • USE LINUX OS!
  • ADD .BMP (BLACK-WHITE) IMAGE FILE TO MAIN DIRECTORY
  • CHANGE FILE NAME IN project.c FILE:
	int main(int argc, char* argv[])
	{
		imgInfo* pInfo;
		if (sizeof(bmpHdr) != 62)
		{
			printf("Change compilation options so as bmpHdr struct size is 62 bytes.\n");
			return 1;
		}
		if((pInfo = readBMP("eiti.bmp"))!=0)			// <---- HERE
		{
			allocate_for_output(pInfo);								
			change_headder(pInfo);
			...
  • THROUGH SYSTEM CONSOLE CHANGE DIRECTORY TO PROJECT'S DIR AND TYPE:
make all
  • NEXT TYPE IN CONSOLE:
./program
  • RESULT IMAGE IS IN result.bmp FILE

bmp-img-rotation-x64-c-hybrid's People

Contributors

lukasz-staniszewski avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.