"Image Converter" questions

How to transform the picture more than 320x240 pixels. I have a display 480x272 pixels.
demanik wrote:How to transform the picture more than 320x240 pixels. I have a display 480x272 pixels.
SUB InitializeTFT()'------------------------------------------------------------
TRISB = &h0000 'Data PORT
OUTPUT(_Reset)
OUTPUT(_CS)
OUTPUT(_RS)
OUTPUT(_WR)
OUTPUT(_RD)
_Reset = 1
DELAYMS(5)
_Reset = 0
DELAYMS(5)
_Reset = 1
_CS = 1
_RD = 1
_WR = 1
DELAYMS(5)
_CS = 0
WriteCommand (&h00E2)'PLL multiplier, set PLL clock to 120M
WriteData(&h002D)'N=$36 for 6.5M, $23 for 10M crystal
WriteData(&h0002)
WriteData(&h0004)
WriteCommand (&h00E0)' PLL enable
WriteData(&h0001)
DELAYMS(1)
WriteCommand (&h00E0)
WriteData(&h0003)
DELAYMS(5)
WriteCommand (&h0001) ' software reset
DELAYMS(5)
WriteCommand (&h00E6) ' PLL setting for PCLK, depends on resolution
WriteData(&h0000)
WriteData(&h00FF)
WriteData(&h00BE)
//----------------------------------------------//
WriteCommand (&h00B0) 'TFT SPECIFICATION
WriteData(&h0020)
WriteData(&h0000)
WriteData((HDP >> 8)AND &h00FF) 'Set HDP
WriteData(HDP AND &h00FF)
WriteData((VDP >> 8)AND &h00FF) 'Set VDP
WriteData(VDP AND &h00FF)
WriteData(&h0000)
DELAYMS(5)
//----------------------------------------------//
WriteCommand (&h00B4) //HSYNC
WriteData((HT >> 8) AND &h00FF) //Set HT
WriteData(HT AND &h00FF)
WriteData((HPS >> 8) AND &h00FF) //Set HPS
WriteData(HPS AND &h00FF)
WriteData(HPW) //Set HPW
WriteData((LPS >> 8) AND &h00FF) //SetLPS
WriteData(LPS AND &h00FF)
WriteData(&h0000)
//----------------------------------------------//
WriteCommand (&h00B6) //VSYNC
WriteData((VT >> 8) AND &h00FF) //Set VT
WriteData(VT AND &h00FF)
WriteData((VPS >> 8) AND &h00FF) //Set VPS
WriteData(VPS AND &h00FF)
WriteData(VPW) //Set VPW
WriteData((FPS >> 8) AND &h00FF) //Set FPS
WriteData(FPS AND &h00FF)
//----------------------------------------------//
WriteCommand (&h0036) //rotation
WriteData(&h0000)
//----------------------------------------------//
WriteCommand (&h00F0) //pixel data interface
WriteData(&h0003)
DELAYMS(5)
//----------------------------------------------//
WriteCommand (&h0029) //display on
//----------------------------------------------//
WriteCommand (&h00BE) //set PWM for B/L
WriteData(&h0006)
WriteData(&h00F0)
WriteData(&h0001)
WriteData(&h00F0)
WriteData(&h0000)
WriteData(&h0000)
//----------------------------------------------//
WriteCommand (&h00D0)
WriteData(&h000D)
//----------TFT RESET---GPIO0-------------------//
WriteCommand (&h00B8)
WriteData(&h0000) //GPIO3=input, GPIO[2:0]=output
WriteData(&h0001) //GPIO0 normal
WriteCommand (&h00BA)
WriteData(&h0000)
end sub'========================================================================