carb3n Posted January 12, 2008 Report Share Posted January 12, 2008 Tatad ir radusies tada vajadziba, pec krasas koda nolasisanas konkreta pixeli vai regiona ! Piemeram ir 10x10 px balts lauks, kuram piemeram nezinama vieta melns punktins 1px ! Ka ar PHP palidzibu noteikt kur atrodas sis melnais punktins ? ( koordinates saja baltaja laukaa ) Link to comment Share on other sites More sharing options...
andrisp Posted January 12, 2008 Report Share Posted January 12, 2008 1) Dabū kopējo bildes izmēru 2) Ar diviem cikliem lūpo cauri visiem pikseļiem (domāju, ka saprati). 3) Izmanto imagecolorat, lai noteiktu konkrētā pikseļa krāsu. Link to comment Share on other sites More sharing options...
carb3n Posted January 12, 2008 Author Report Share Posted January 12, 2008 Paldies par atbildi ! Tiesi tas pedejais verkis bija tas kas man nebija zinams ;) Link to comment Share on other sites More sharing options...
Recommended Posts