Welcome back ,I'm still writing the application from the last post, I founded that I must redraw the image to show the result , I faced Many problems while writing the Method write Image first the image was totally black which is not correct , I searched the web for a solution especially stack overflow site , I'm gonna tell you what I gain , I hope the post help you in shaa Allah . public void write_image(int[] image_1d, int width, int height) throws IOException { WritableRaster raster= Raster.createWritableRaster (new PixelInterleavedSampleModel(0, width,height, 1, 1920,new int[] {0}), new Point(0,0)); int k =0 ; for(int i = 0 ; i < width ; i++ ) { for(int j = 0 ; j < height ; j++) { ...
Senior software engineer, my experience is based on applying the software development concepts and tools to serve in different industries especially in the Oil & Gas industry.