Comments (7)
From [email protected] on January 02, 2013 23:26:30
Parameter little-endian/big-endian affects on byte order, not bits.
To change the order of bits in a monochrome image, set the right direction of scan pixels.
Owner: [email protected]
from lcd-image-converter.
From [email protected] on January 03, 2013 04:56:44
OK than I have misunderstood the endian parameter. I have to ask differently.
The byte order is ok (scan direction from top to bottom and forward) . What I need is each byte to me mirrored. As example on a 16x16 BW matrix with the first pixel set. I would like to have following output 0x01 0x00 for the first line. now I get 0x80 0x00.
I looked at older versions, there was an option to mirror a byte.
Thank you for you help
from lcd-image-converter.
From [email protected] on January 03, 2013 06:10:06
Yes, this option was in older versions.
It was later removed due to the ease of implementation mirroring in the firmware, as well as its ambiguity:
- Reflect the bits in each byte?
- or Reflect the bits within the data block (8, 16, 24 or 32 bits)?
- or Byte swap places?
- or Reflect the bytes and swap places?
In general, I need to think about a more universal method of placing bits.
In your particular case, you can implement mirroring in converterhelper.cpp, between lines 153 and 154. https://code.google.com/p/lcd-image-converter/source/browse/classes/convert/converterhelper.cpp?r=b4efed4af0b9
Status: Accepted
from lcd-image-converter.
From [email protected] on January 04, 2013 08:18:19
Status: Started
Labels: -Type-Defect Type-Enhancement
from lcd-image-converter.
From [email protected] on January 04, 2013 09:52:50
Try this demo version: https://code.google.com/p/lcd-image-converter/downloads/detail?name=lcd-image-converter-20130104-e112b199efed-beta.zip New page 'Reordering' contains settings for reordering bits.
Adding a shift operation is the same as setting the page 'Matrix'.
Attachment: reordering.png
from lcd-image-converter.
From [email protected] on January 06, 2013 01:00:33
Works perfect! Exactly what I missed. Thanks
from lcd-image-converter.
From [email protected] on January 10, 2013 06:10:32
Released in r4e8c626a9ac0
Status: Fixed
from lcd-image-converter.
Related Issues (20)
- Build Error on Arch Linux HOT 1
- conversion preset deleted HOT 2
- I want to display pictures in BMP format on Qt5. The way I can think of is to ask you. HOT 2
- Checkbox "Split to rows" not applied when RLE Compression is active HOT 1
- "Split to rows" only works when "Bands" is disabled HOT 1
- Zig-zag conversion HOT 3
- Convert Animated Gif HOT 1
- Char Byte alignment
- Adafruit GFX Compatibility HOT 3
- need help HOT 18
- некорректное использование неполного типа «const class QPainterPath» HOT 1
- Lost presets HOT 1
- Wrong version gets downloaded as latest on sourceforge.com HOT 2
- Completely broken HOT 1
- 72pix fonts are same height as 48pix or 54pix fonts HOT 3
- Wrong font rendering
- Fails to build with unknown module QT: xmlpatterns HOT 2
- Byte order in image options not works HOT 2
- lcd-image-converter HOT 2
- I do not have the RGB565 color option. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lcd-image-converter.