Jump to content
Vasqes

[By Design] Bug - while using gradient - bitmap fill option

Recommended Posts

How to replicate - 

Open affinity - create a square transparent symbol, use that symbol to create a pattern - create an artboard that contains symbol instances (in the pattern) - export that artboard as PNG in slices persona. Create a new document. Create a random object and use a gradient tool with a bitmap option, use the previously exported image as a gradient fill. 

Result

You will see strange lines at the borders of the titled gradient 

Expected Result

be able to create a bitmap gradient fill without a strange borders

 

file.afdesign

Capture.PNG

Share this post


Link to post
Share on other sites
Guest

Hello Vasqes,

You can simply create the pattern without using a symbol.

Draw the pattern, export it as a transparent png.
Place this png in AD, right-click on it and choose "Convert to curves", keep it selected.  Go to the "Styles" tab of the studio, expand the "hamburger" at the top right of the panel and choose "Add a style from the selection" (you can also right click on the selection and choose "Create a Style").
You can then apply this style to the objects you draw and make adjustments with the "Fill" tool without having this border effect.

This way of exporting also allows you to use the png directly for bitmap filling, (if you don't want to create a style), always without border effects

 

Pattern.png

Share this post


Link to post
Share on other sites

Hi @Vasqes,

Welcome to the forums. 

When you export to raster formats, always make sure you use integer values for Position and Size, otherwise, you will have artefacts. 

If you resize that artboard to integer values, you will not have that hairline where your pattern is mirroring. 

Thanks,

Gabe. 

Screenshot 2019-03-04 at 11.31.43.png

Share this post


Link to post
Share on other sites
10 minutes ago, GabrielM said:

If you resize that artboard to integer values, you will have that hairline where your pattern is mirroring

Will? Or will not?


-- Walt

Windows 10 Home, version 1903 (18362.356), 16GB memory, Intel Core i7-6700K @ 4.00Gz, GeForce GTX 970
Affinity Photo 1.7.3.481 and 1.8.0.486 Beta   / Affinity Designer 1.7.3.481 and 1.8.0.486 Beta  / Affinity Publisher 1.7.3.481 and 1.7.3.475 Beta

Share this post


Link to post
Share on other sites

@GabrielM Thanks, Yes makes sense. Would be good to inform (somehow) the other users. Would be kinda tricky task but doable. Maybe exporter should always use integer?. Anyway thank you very much for your help. 

Cheers 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×

Important Information

These are the Terms of Use you will be asked to agree to if you join the forum. | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.