Skip to content

Commit 5b5bc67

Browse files
committed
fix(pdf): disable interpolation for inline image (pcolormesh) to eliminate hairline seams (/I false)
1 parent 141291e commit 5b5bc67

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backends/vector/fortplot_pdf.f90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,7 @@ subroutine fill_heatmap_wrapper(this, x_grid, y_grid, z_grid, z_min, z_max)
389389
width_pt, 0.0_wp, 0.0_wp, -height_pt, pdf_x0, pdf_y0+height_pt, ' cm'
390390
call this%stream_writer%add_to_stream(trim(cmd))
391391

392-
write(cmd,'(A,I0,A,I0,A)') 'BI /W ', W, ' /H ', H, ' /CS /RGB /BPC 8 /F /FlateDecode ID'
392+
write(cmd,'(A,I0,A,I0,A)') 'BI /W ', W, ' /H ', H, ' /CS /RGB /BPC 8 /F /FlateDecode /I false ID'
393393
call this%stream_writer%add_to_stream(trim(cmd))
394394
call this%stream_writer%add_to_stream(img_data)
395395
call this%stream_writer%add_to_stream('EI')

0 commit comments

Comments
 (0)