bohemian11 Posted July 14, 2017 Share Posted July 14, 2017 Hello, I am new here. I am trying to export a simple gradient to a PDF, however there are lines appears on the PDF. Did I do something wrong? Help please Thanks E. Test.afdesign Test.pdf Link to comment Share on other sites More sharing options...
Lojza Posted July 14, 2017 Share Posted July 14, 2017 This is how I see the PDF in Preview on Mac. Nothing seems to be wrong. What viewer do you use? RaymondFlili 1 UX/UI designer, IT analyst & consultant, Business Architect at Cool Ticket (www.coolticket.co). MacBook Pro 13'' Early 2015, 3,1 GHz Intel Core i7, 16 GB 1867 MHz DDR3, Apple Thunderbolt Display 27'' (2560 x 1440). Link to comment Share on other sites More sharing options...
bohemian11 Posted July 14, 2017 Author Share Posted July 14, 2017 Hi Lojza, Thanks for responding so quickly. I am using adobe Reader on mac Below is the screen capture Thanks E Link to comment Share on other sites More sharing options...
Lojza Posted July 14, 2017 Share Posted July 14, 2017 I tend to think it's some kind of Adobe Reader issue... Anyway, do you have the possibility to print this PDF and see how it comes out of the printer? Maybe it's just rendering issue. I see similar problems very often with PDFs exported from Photoshop, for example. UX/UI designer, IT analyst & consultant, Business Architect at Cool Ticket (www.coolticket.co). MacBook Pro 13'' Early 2015, 3,1 GHz Intel Core i7, 16 GB 1867 MHz DDR3, Apple Thunderbolt Display 27'' (2560 x 1440). Link to comment Share on other sites More sharing options...
bohemian11 Posted July 14, 2017 Author Share Posted July 14, 2017 it is intended for 2mx1.8m :D Say if I am printing it in smaller size and the lines are not showing, is it safe to assume that it is Adobe Reader issue? I will try to open it on another PDF reader and see how it goes Thanks again E. Link to comment Share on other sites More sharing options...
mac_heibu Posted July 14, 2017 Share Posted July 14, 2017 This is a (widly unvoidable) rendering/antialiasing problem. Normally these lines aren't visible in print. They normally disappear, if you go to Acrobat's Preferences and deselect "Page Display/Smooth line art" and "Smooth images". Link to comment Share on other sites More sharing options...
bohemian11 Posted July 14, 2017 Author Share Posted July 14, 2017 Hi Mac_heibu, Tried your suggestion, however the lines are still there. When I open in Adobe Reader, they load it in one by one, left, middle, and then right section. you know like an animation. like 3 pieces put together side by side. I don't know how to explain it haha. the lines appear in between the pieces. While preview load it more as a whole page Thanks E Link to comment Share on other sites More sharing options...
mac_heibu Posted July 14, 2017 Share Posted July 14, 2017 Then export your PDF as PDF 1.4 or higher. If you export as PDf/X (1.3) these "lines" are unavoidable and only can be hidden by using the Acrobat preferences I already have described. You are sre to uncheck ( not check) the options? Link to comment Share on other sites More sharing options...
bohemian11 Posted July 14, 2017 Author Share Posted July 14, 2017 Did I do correctly? any other things i missed? Link to comment Share on other sites More sharing options...
bohemian11 Posted July 14, 2017 Author Share Posted July 14, 2017 My Export settings Link to comment Share on other sites More sharing options...
mac_heibu Posted July 14, 2017 Share Posted July 14, 2017 Would you mind to attach the .designer document here? Seems to be a test document and quite small. Link to comment Share on other sites More sharing options...
bohemian11 Posted July 14, 2017 Author Share Posted July 14, 2017 Hi Mac_heibu, the one i was attaching on my first post is my real file. RaymondFlili 1 Link to comment Share on other sites More sharing options...
mac_heibu Posted July 14, 2017 Share Posted July 14, 2017 Ups, didn’t see the files. This is definitely a Affinity „issue“. I exported the file as PDF 1.7. In this case there is no need to flatten and tile the page content. However, Affinity tiles the document during rasterizing the colour gradient, if you don’t choose the correct rasterizing settings: In PDF export choose a PDF format higher 1.3, under „More …“ chosse „Rasterizing: Nothing“ and all is ok. (The word may differ, I am using the German GUI. Link to comment Share on other sites More sharing options...
bohemian11 Posted July 14, 2017 Author Share Posted July 14, 2017 But if I don't raster anything, the PDF will be a flat one instead of gradient? (test_2.pdf) or did I use the wrong setting during export? Test_2.pdf Link to comment Share on other sites More sharing options...
mac_heibu Posted July 14, 2017 Share Posted July 14, 2017 If nobody else will reply, I'll have a look tomorrow. I am no longer in front of my machine now. :) Link to comment Share on other sites More sharing options...
MikeW Posted July 14, 2017 Share Posted July 14, 2017 Don't force the rasterization at all. Keep it vector, which you can/should be able to do with the current 1.6 beta. I am using the Windows beta, but that shouldn't matter. In the release version one couldn't keep such a gradient vector because of the middle stop is not at 50%, but the beta fixes that. If you want to use the release version, just make that middle stop 50%. Mike Test2.pdf Link to comment Share on other sites More sharing options...
mac_heibu Posted July 15, 2017 Share Posted July 15, 2017 You are sure? • I opened the document in AD 1.5.5. • In „Export …“ I chose „PDF“, everything else was left default. • Under „More“ I chose „Rasterisation: None“ and Compatibility: PDF/X-3 or whatever format. The exported PDF has no tiling at all (checked in Acrobat DC) and in consequence no „lines“. The rectangle filled with a gradient, remains vector. I attach the exported PDF, you may check it. Nevertheless there is an issue in the exported PDF: If I export a PDF/X-3, the PDF version should be 1.3. But Acrobat tells me, that the file, exported from Affinity, is PDF 1.4, a format which may contain transparencies, and therefore isn’t compatible to PDF/X-3. Test3.pdf Link to comment Share on other sites More sharing options...
MikeW Posted July 15, 2017 Share Posted July 15, 2017 PDF/X can leave a gradient like this as vector. PDF/X-3:2003 is a revision 1.4 file and is proper. That is what your PDF is, Mac. There is no transparency in the test gradient and so no rasterization. If one adds even 1% transparency to one of the color stops of the gradient, the gradient will rasterize under the PDF/X-2 or -3 profiles. If one sets the Rasterize to Nothing like you suggest, then the transparency will be excluded and a vector result will occur in this sample. Using the setting I show will keep the vector as vector when there is opacity not equal to 100. The PDF/X-4 profile and just setting the compatibility to what I show should allow for transparency, but it is broken when the opacity is altered from 100. Link to comment Share on other sites More sharing options...
bohemian11 Posted July 15, 2017 Author Share Posted July 15, 2017 Mike, I opened the file you attached (Test2.pdf), yes there is no line in it. Yeay. However, since I am using 1.5.5 on Mac, I have to set the middle stop at 50% right? I hope I don't miss understand what you meant by "middle stop 50%" I have amended the af file and tried to export it. it still has the lines What I did wrong? I attached all related files if you don't mind checking. Thanks in advance E Test_mid.afdesign Test_mid.pdf Link to comment Share on other sites More sharing options...
MikeW Posted July 15, 2017 Share Posted July 15, 2017 Here's the gradient mid-point you need to change: Then just use the following setting... This is the beta area. The mid-point setting should be fixed in the beta version (1.6x). Link to comment Share on other sites More sharing options...
bohemian11 Posted July 15, 2017 Author Share Posted July 15, 2017 Fantastic. It works. Many thanks Mike!! Link to comment Share on other sites More sharing options...
bohemian11 Posted July 15, 2017 Author Share Posted July 15, 2017 Okay, more question. Turned out I need to combined the gradient vector with a half transparent background picture (JPEG) If I don't rasterise, the background picture wont be transparent. But if I rasterise, the gradient background will have lines I have put the transparent mid point to 50% What should I do? Test_more.afdesign Test_more.pdf Link to comment Share on other sites More sharing options...
MikeW Posted July 15, 2017 Share Posted July 15, 2017 Not necessarily. The background is 72 dpi. For large format work I generally use 150 dpi until such time the design is, well, pretty massive. Just export using the same For Print setting but set the rasterization dpi to 150. Technically, your design doesn't need a change to the dpi setting if all your bitmap elements are lower than whatever threshold you set. But, for instance, if you add text with a drop shadow, you would want that drop shadow to hit the PDF at 150 dpi on a design of this size. Your image hits the PDF retaining its transparency without "stitching," which are what those lines are called. Even so, you will find there are times that stitching will occur no matter what one does. There are few options of dealing with stitching. These are simple things, but can be involved. Stitching in general will not appear on the print to a high-resolution device. So most desktop-type printers will often show stitching lines, but a hi-res print device will not. If you run into it on a final output, we can deal with it. A_B_C 1 Link to comment Share on other sites More sharing options...
bohemian11 Posted July 15, 2017 Author Share Posted July 15, 2017 Thank you so much!!!!! Link to comment Share on other sites More sharing options...
Recommended Posts