-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Gaussian noise preview, somewhat mixed up preview oddety. (Old + Win:XP) #60
Comments
Oh dear! Yes, seen on linux as well. I'll investigate. |
It's only a half-bug, I think. The To fix this, Thanks for reporting this! |
Roger. |
previously, pixel values were regenerated on every calculation, so they changed on recomputation pixel values are now generated from the pixel (x, y) coordinate plus a per-call seed thanks MvGulik, see libvips/nip2#60 https://github.com/jcupitt/libvips/issues/583
OK, fixed! Thank you very much for pointing this out. The fix will be in 8.5, due in March 2017. |
PS: Merging 3 Gaussian patterns, with identical settings, will probably now also generate a colored image instead of a (virtual) gray scaled image.
Correct ? Better to ask now I think. |
I tried a tiny Python program: #!/usr/bin/env python
import sys
import gi
gi.require_version('Vips', '8.0')
from gi.repository import Vips
r = Vips.Image.gaussnoise(100, 100)
g = Vips.Image.gaussnoise(100, 100)
b = Vips.Image.gaussnoise(100, 100)
im = r.bandjoin([g, b])
im = im.copy(interpretation = "srgb")
im.write_to_file(sys.argv[1]) And it makes this image: So it looks like noise on an old analogue colour TV. You're right though, try that in nip2 and you'll see a plain grey image. I'll try to fix that too. |
Roger. In that case ... I can't resist giving it its own ticket. |
Some odd (and old) image-preview behavior (to me) on Gaussian noise generated image(s).
(A minor issue at best. Don't mind knowing what might be triggering this (if known and its not to technical).)
When previewing a Gaussian noise generated image in nip2 (when not using a power of 2 zoom level) the preview image shows a bit mixed up preview.
Image: example that nicely show the odd bands.
-- Only for none 'power of 2' zoom levels. (ie: zoom 200%, 400%, 800%, etc don't show this)
-- Saved image files are ok / not effected by this.
Nip2: 8.4.0 (Not tested on older versions, but I have seen this before a long time ago.)
OS: Win:XP
The text was updated successfully, but these errors were encountered: