Giter VIP home page Giter VIP logo

Comments (4)

coppice-git avatar coppice-git commented on July 16, 2024

Neither of those PDF files look quite right. There seems to be one pixel row missing from the longer one, and one character row missing from the shorter one. If there is a problem in spandsp it must be provoked by something specific in this particular image, as most pages transfer accurately. Can I get a source image file and the related received files using the different compression schemes?

from spandsp.

char11 avatar char11 commented on July 16, 2024

This is the original.
a4_p.pdf

from spandsp.

coppice-git avatar coppice-git commented on July 16, 2024

The problem with fax00000073.pdf lacking the last pixel row is also present in a4_p.pdf, so it seems we can ignore that. \

If I extract the TIFF images from fax00000073.pdf and fax00000074.pdf they are not sendable as FAXes, because their resolution is set to 72dpi by 72dpi for some reason. If I edit the files to have a proper FAX resolution I can send the images between 2 instances of spandsp, using T.85 L0 compression, and the result looks OK. I tried this with an audio connection and with a T.38 connection. I did not use Freeswitch. I did the tests using my testbench for spandsp. I wonder if something in Freeswitch causes the file to be closed before the last part is written when T.85 L0 is used?

from spandsp.

akihirobessy avatar akihirobessy commented on July 16, 2024

Hi char11,

I'm facing the issue same as you now.
When I set the ECM as true and send a fax from freeswitch via spandsp, on receive side the bottom of docs is cut by about 3 to 4 mm.
I use T.30-fax, G711ulaw, fax_use_ecm as true, and create tiff from pdf by gs command with option -r204x98 -dNOPAUSE -dBATCH -dSAFER -dPDFFitPage -sDEVICE=tiffg3.

Could you please tell me your solution after that if you had already resolved?

from spandsp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.