![]() Registered Member ![]()
|
Hi everyone
I was wondering if there is any way after setting up desired grid in "Grid and Guides" to somehow quicly export it as a layer, or select the grid and fill it in new pixel layer? Tilll now i was just using grid to follow it and paint it using 1px brush, but that is very tedious and long process. Thanks |
![]() Registered Member ![]()
|
As far as I know, the grid isn't part of the image layer stack and is only added to the final screen image at the screen resolution. Grid lines are always 1 screen pixel wide. As such, it can't be treated as an image for copying etc.
One possible solution would be to take a screenshot (.png) of a grid on a transparent layer and try to use that. If your working image is less than your screen size this is not too difficult to do. If you have to do lots of scaling then the screenshot grid image lines will become smeared or even lost, depending on what you do. EDIT: Sorry, I had a brain failure there. You can't do it by exporting with a transparent background as a .png. You'd have to use a white background then use the Levels adjustment to make the grid black and then invert the image and use it as a transparency mask on the original grid image. It's a lot of work. |
![]() Registered Member ![]()
|
Yeah, that is not going to work because the size of the canvas is much bigger than my screen. Thanks for the input anyway.
|
![]() Registered Member ![]()
|
Maybe you can make custom a grid pattern. You only have to draw one cell, and the fill the image. I do this often, but I'm not totally sure how you need it.
![]() |
![]() Registered Member ![]()
|
@mikeholder:
I assumed that Rafal_86 wanted a grid on a transparent layer so it could be overlaid onto an image. If a grid on a solid colour is needed then a pattern will do the job well. I had totally forgot about patterns. I know that a .png file is acceptable by krita for patterns but the pattern generator won't allow transparency from a .png file. I've tried using GIMP to export a pattern with transparency as a .pat file but I still can't get transparency in a pattern in krita. Using Levels will give a 'self mask' transparency mask from the grid pattern image so that may be the way to go if transparency is needed on the grid layer. EDIT: Another brain failure. Please see my next post.
Last edited by ahabgreybeard on Sun Jul 29, 2018 4:56 am, edited 1 time in total.
|
![]() KDE Developer ![]()
|
Hm... I guess that's because a pattern is treated a single grayscale channel. To be honest, I'm not sure whether that can be fixed. It might be easier to implement creating a layer from a grid or assistant. It might even be not too hard to actually write a script that would draw a grid on a layer...
|
![]() Registered Member ![]()
|
IF you need to lay a grid over something, then draw the grid pattern on a white background and put the grid pattern on a top layer in multiply mode. The white becomes transparent. You can even reduce the opacity a bit to see better under the lines.
|
![]() Registered Member ![]()
|
@boudewijn:
I'm sorry but I've misled you. Krita does accept transparency in patterns. (My previous statement was wrong because I got careless in various ways.) This screenshot shows it: https://imgur.com/1uJAH0V The palette docker doesn't show transparency in the individual pattern thumbnails or in the selected pattern sample area at the bottom. However, the tooltip image does show the transparency. For the two patterns shown, the left one has a white background and the right one has a transparent background. This works fine for flood fill on a paint layer and also for a pattern on a fill layer. The canvas in the screenshot link shows the grid as a layer over a photographic image layer. The pattern shown gives a blue grid every 10 pixels with red lines every 50 pixels. The pattern is 100 x 100. I could have made it half that size but I was experimenting. Making grid patterns is a boring task and prone to error. Making a grid assistant/creator tool would be a much better way of doing it. @mikeholder: Using multiply mode for a grid on a white background does work well and is perfect for a black grid on a white background. If the grid has coloured lines or the underlying image has very dark areas then they can become less distinct. Using divide mode can overcome that problem but the grid colours then become badly affected. We should wait for the developers to make a grid assistant/creator tool ![]() |
![]() Registered Member ![]()
|
Yes i know about patterns and i do it from time to time. The problem is sometimes i need different size of grid and unfortnately I can't scale patterns before fill.
That force me to make new pattern every time i need different size. It is tiresome and i was wonderig if there is any other way to do it faster.
That would be awesome. The great part about Grind and Guides is that you can set up the grid exactly how you want it to be in seconds. Exporting grid to layer (either transparent, or not - we can use multiply blending) would be a dream option to me. |
![]() Registered Member ![]()
|
OSX El Capitan Ver 10.11.6
|
![]() Registered Member ![]()
|
Oh, that is a handy tool ! Unfortunately i use Win and i see only Mac version. |
![]() Registered Member ![]()
|
Sorry I did not know it was Mac only, your only option is to sell your house, car and children to Mr. Cook and buy a Mac.
![]()
OSX El Capitan Ver 10.11.6
|
Registered users: Bing [Bot], Google [Bot], Sogou [Bot]