I spent the day on this issue.
The two files are similar and the first pixel is the same empty space.
tile.png-----
Local ImgbufferataBuffer = LoadImageData("cerberus://data/tile.png", tileInfo)
Local RGB = Imgbuffer.PeekInt(0) & $ff ' check blue
RGB value is 255
but first pixel is blank.(a0,r0,g0,b0)
tile1.png------------
Local ImgbufferataBuffer = LoadImageData("cerberus://data/tile1.png", tileInfo)
Local RGB = Imgbuffer.PeekInt(0) & $ff 'check blue
RGB value is 0 <-this value right.
first pixel is blank.(a0,r0,g0,b0)
what's wrong?
Do I have to add an option when saving in Photoshop?
The two files are similar and the first pixel is the same empty space.
tile.png-----
Local ImgbufferataBuffer = LoadImageData("cerberus://data/tile.png", tileInfo)
Local RGB = Imgbuffer.PeekInt(0) & $ff ' check blue
RGB value is 255
but first pixel is blank.(a0,r0,g0,b0)
tile1.png------------
Local ImgbufferataBuffer = LoadImageData("cerberus://data/tile1.png", tileInfo)
Local RGB = Imgbuffer.PeekInt(0) & $ff 'check blue
RGB value is 0 <-this value right.
first pixel is blank.(a0,r0,g0,b0)
what's wrong?
Do I have to add an option when saving in Photoshop?